Script to Send Messages to Database Users

Here’s a handy way to send a message to everybody currently logged into a given SQL 7 database. Since it relies on a ‘net send’ to the host name, its usefulness is limited to situations where the client machines’ host names are known to SQL Server and are reachable by a ‘net send’ command.

Author: Joe Kohler

Download Script:
sp_dbshout.sql



Disclaimer:
We hope that the information on these script pages is
valuable to you. Your use of the information contained in these pages,
however, is at your sole risk. All information on these pages is provided
“as -is”, without any warranty, whether express or implied, of its accuracy,
completeness, or fitness for a particular purpose…

Disclaimer Continued

Back to Database Journal Home

Get the Free Newsletter!

Subscribe to Cloud Insider for top news, trends & analysis

Latest Articles