Reputation: 6540
Hi Im trying to use PRINT
or a none fatal RAISEERROR to print messages while my transaction is running but they will not print until the transaction has ended. is there any way to actually print a message from within a transaction?
Upvotes: 3
Views: 2258
Reputation: 4604
I think you'll find it's buffering that's preventing the messages from printing.
Try:
raiserror ('hello', 0, 0) with nowait
Upvotes: 5