SSIS- Get count of the oracle tables in SSIS

  • 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 ??

  • 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