Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Flushing RaiseError() messages in script
Message
 
 
À
29/03/2015 10:23:53
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2012
Application:
Web
Divers
Thread ID:
01617332
Message ID:
01617363
Vues:
28
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform