How do I execute a stored procedure once for each row returned by query?
Posted
by Ryan
on Stack Overflow
See other posts from Stack Overflow
or by Ryan
Published on 2009-05-20T05:30:31Z
Indexed on
2010/03/24
17:13 UTC
Read the original article
Hit count: 201
I have a stored procedure that alters user data in a certain way. I pass it user_id and it does it's thing. I want to run a query on a table and then for each user_id I find run the stored procedure once on that user_id
How would I write query for this?
SQL SERVER
© Stack Overflow or respective owner