Quantcast
Viewing all articles
Browse latest Browse all 24688

SSIS FOR ADO LOOP

I have a SQL exec task 

The SQL quires is select * from tb_copy_data 

I then have a ado for loop 

I then build a quotes which is select count(*) from tbl_cust 

I then display the quotes in a message box to see if it bring the right table 

I then assign it to a variable 

I then use a SQL exec task 

I select connection and enter variable name after it has been executed I see how many records they are 

On this first loop pass it returns 0 on the next loop it returns the first table record count but when I display the name it display the second table name but result is table previous 

I been trying but can't work it out is their any chance I can email you the project pls 


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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