Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Transact-SQL (2000)
 msgbox from a SP

Author  Topic 

yossibaram
Yak Posting Veteran

82 Posts

Posted - 2002-08-19 : 03:01:13
Hi,
Can I send a msgbox event from a SP or trigger to the client?
I have few conditions in a SP and if one of then fulfils I need the client to be notified not in a log file but as msg box.
Please advice.
thanks
Yossi

Tiwari
Starting Member

18 Posts

Posted - 2002-08-19 : 05:17:19
quote:

Hi,
Can I send a msgbox event from a SP or trigger to the client?
I have few conditions in a SP and if one of then fulfils I need the client to be notified not in a log file but as msg box.
Please advice.
thanks
Yossi





Go to Top of Page

robvolk
Most Valuable Yak

15732 Posts

Posted - 2002-08-19 : 08:24:42
No. You can use RAISERROR to generate a message, or have the SP return results through output variables or result sets. See here:

http://www.sqlteam.com/item.asp?ItemID=2644

There is more information about RAISERROR in Books Online.

Go to Top of Page
   

- Advertisement -