Reference: SQL Server
I have a stored procedure with a while loop in it and I want some messages to be printed after every 500 loops.
while
So, I\'ve
I'm sure you can use RAISERROR ... WITH NOWAIT
If you use severity 10 it's not an error. This also provides some handy formatting eg %s, %i and you can use state too to track where you are.