Hi,
I import data from csv file into a temp table. I need to loop through each row and call Stored procedure and pass that row details to the stored procedure as parameters. I know that it can be done using cursor and i have implemented it. I would like to know if there are any latest best methods to do it.
table
loop through each row and get values into variables
exec sp param1, param2
next
something like this. The file may have around 900 records.
Please point me to right resource or code.
Thanks,