Quantcast
Channel: Forum SQL Server Database Engine
Viewing all articles
Browse latest Browse all 15889

raiserror(@msg,0,1) with nowait isn't pushing out the messages

$
0
0

I'm working on a big script that will someday be a big SP, and have it spitting out status messages after each big command, the whole thing is running about 30 minutes on our larger servers.  But as y'all know, just using print statements often queues the messages up and you don't see them until it's all over, so I'm using raiserror with nowait.  The first one comes out fine, but then there are alternating print's and raiserror's, and they're queuing up and not flushing to my message tab.

Did I miss the memo where this stopped working reliably?

There are just a couple of dozen messages, I know there's another limit around 100.

SQL 2008 R2, fwiw.

Thanks,

Josh


Viewing all articles
Browse latest Browse all 15889

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>