G
Guest
I'm trying to get progress messages from a long-running stored proc to a C#
client program. In the proc, I use RAISERROR (@Message,10,1) WITH NOWAIT",
and I've set up a SqlInfoMessageEventHandler. The handler gets all messages
at the end of the proc, not as they are generated. However, when I run the
proc from Query Analyzer, I get the messages right away. Is there any
buffering going on that I can flush?
client program. In the proc, I use RAISERROR (@Message,10,1) WITH NOWAIT",
and I've set up a SqlInfoMessageEventHandler. The handler gets all messages
at the end of the proc, not as they are generated. However, when I run the
proc from Query Analyzer, I get the messages right away. Is there any
buffering going on that I can flush?