SQL Server Forums - Do While Loop - SQL Server Information at SQLTeam.com
Here is an example of how you can execute a stored procedure in a while loop. DECLARE @counter INT SET @counter = 0; WHILE (@counter < 10) BEGIN EXEC dbo.YourStoreProc; SET @counter = @counter + 1; END If you have the ability to view or modify the ......