Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Simple SQL query works in SQL server, but not in SSIS

$
0
0

IF(0 > 0 OR 0 > 0 )
BEGIN
PRINT 'OKAY'
END

That is my simple query. In SSIS it causes an error - 

[Execute SQL Task] Error: Executing the query "IF(0 > 0 OR 0 > 0 ) BEGIN
PRINT 'OKAY' END" failed with the following error: "Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.

How do I fix this ?


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>