Sahil
Sat Feb 19 02:07:45 CST 2005
No dude it ain't a bug. It's due to performance reasons that those are
batched together. Your best bet is to rearchitect the stored proc and split
it into smaller tasks in repeated calls - and then show the progress bar
based upon that. Obviously a progress bar solution means multiple database
hits and hence lower performance.
- Sahil Malik
http://codebetter.com/blogs/sahil.malik/
"Homer" <Homer@discussions.microsoft.com> wrote in message
news:103F95D5-6184-4989-BC2E-F4B6F5854EE7@microsoft.com...
> Hi,
>
> I have a long running stored procedure in which I have placed raiserrors
> to track progress in real time. It works great in query analyzer.
> I am trying to provide real time progress to the client using the
> Infomessage event handler and provide a method that does this. However,
> the
> Infomessage seems to only work AFTER the stored procedure is finished and
> it
> outputs all the raised errors all at once. Is this a bug?
>
> thanks in advance