August 16, 2011 at 8:50 am
In SSIS , I need to check if a source oracle table has any rows if there are rows I need to proceed to next dataflow task where I will be loading data from Oracle source to SQl database.
I got the count(*) from oracle in Execute Sql task from source but the data is coming as object or String variable and I am not able to type cast that variable to Int to check in Precedence constraint I am getting Variable mismatch error??? IS there any other way to check this ??
August 16, 2011 at 9:03 am
Maybe change your query to return 'true' (has data) or 'false' (no data) instead and build your precedence constraint accordingly.
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy