Professional Documents
Culture Documents
Can I execute a stored proc multiple times (with different parameter values each time) without a cursor or while loop
Author
Message
Cheers
GPO
1/4
GPO
One of the symptoms of an approaching nervous breakdown is the belief that one's work is terribly
important.
Bertrand Russell
Hi There,
(edited my post)
SET @query=''
EXEC (@query)
2/4
--// DROP OF SAMPLE PROCEDURE
DROP PROCEDURE dbo.usp_my_stored_proc
_____________________________________________
Quatrei Quorizawa
:):D:P;)
MABUHAY PHILIPPINES!
declare @T YouTable
exec dbo.usp_my_stored_proc @T
but first you must change your sp to receive a table valued parameter.
3/4
4/4