I have a table that look something like this
value_1 value_2 value_3
---------------------------
1 2 3
4 5 6
7 8 9
... ... ...
and I need to run a stored procedure for every row of this table, something like
foreach value_1, value_2, value_3 from my_table
exec spProcedure value_1, value_2, value_3
Is there a way to do this?