Is there any way to force the message tab to display the messages mid execution?
One way is to use the raiserror command with a severity of 10 and a "with nowait" option. This will not cause an actual error to be raised, as you can see by running this code:
begin try
raiserror('Progress message', 10, 1) with nowait
end try
begin catch
print 'here'
end catch
Ron Rice
No comments:
Post a Comment