Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Flushing RaiseError() messages in script
Message
 
 
To
29/03/2015 10:23:53
General information
Forum:
Microsoft SQL Server
Category:
Other
Environment versions
SQL Server:
SQL Server 2012
Application:
Web
Miscellaneous
Thread ID:
01617332
Message ID:
01617363
Views:
29
>>Did you add WITH NOWAIT option ?
>
>After verification, I found out that those old scripts I use the code from, has the PRINT syntax instead. To display ongoing messages like that, would you recommend to use PRINT instead? If yes, this one works but after a certain number of messagse, it seems to hold the queue.

No, use RAISERROR with NOWAIT option. This way all messages will be displayed during script execution. PRINT will output all messages after script completion.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform