SQL Embedded Query fails but runs fine with sql

More
10 months 1 week ago - 10 months 1 week ago #25609 by prashant
My embedded queries for SQL are failing suddenly (as they worked yesterday) with error message
Code:
​​​​​​Parameter Convertion To Integer Has Failed: ObjectId '' is not a valid integer value

When I open the embedded SQL in browser and run it , it works fine 
 

For your reference this is the query
Code:
DELETE FROM [basecamp].[checklist_tasks] WHERE GeneratedTaskID IN (     SELECT GeneratedTaskID FROM [basecamp].[checklist_tasks where master is deleted] );
Last edit: 10 months 1 week ago by prashant.

Please Log in or Create an account to join the conversation.

More
10 months 1 week ago #25611 by prashant
This behaviour exists for other queries also , I am just randomly posting one

UPDATE [basecamp].[checklist_master] SET PausedUntil = NULL WHERE PausedUntil <= CAST(GETDATE() AS DATE)   AND PausedUntil IS NOT NULL   AND is_deleted = 0;
 
The following user(s) said Thank You: admin

Please Log in or Create an account to join the conversation.

More
10 months 1 week ago - 10 months 1 week ago #25613 by admin
What is the action type and version number?

Mike
ETL Architect
Last edit: 10 months 1 week ago by admin.

Please Log in or Create an account to join the conversation.

More
10 months 1 week ago #25614 by prashant
Action = SQL Script
Version =  6.4.6.7 

Please Log in or Create an account to join the conversation.

More
10 months 1 week ago #25615 by prashant
Same behaviour for 6.4.6.8

Please Log in or Create an account to join the conversation.

More
10 months 1 week ago #25616 by admin
Works absolutely fine here


Mike
ETL Architect

Please Log in or Create an account to join the conversation.

Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Read more
Marketing
Set of techniques which have for object the commercial strategy and in particular the market study.
Google
Accept
Decline
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Google Analytics
Accept
Decline
Functional
Tools used to give you more features when navigating on the website, this can include social sharing.
Advertisement
If you accept, the ads on the page will be adapted to your preferences.
Google Ad
Accept
Decline
Save