|
-
Jul 30th, 2007, 09:33 AM
#1
Thread Starter
Lively Member
calling stored procedure inside while loop
Hi,
I noticed that in Sql server 2000 it is not possible to call a stored procedure
inside the while loop. I have a while loop similar to the following inside a stored procedure which in turn calls a stored procedure. However an error is thrown.
while (intNumber < 10)
Begin
Exec someStoredProcedure
intNumber = intNumber + 1
End
thanks in advance
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|