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 ?