Procedure that net sends a message to any user who logged in as SA.
IN. had to use this once in the company where SA password was blank for a while and managment did not want to set a password on the account.
You can also set it to work with any username or for users that login to SQL Server from other machines.
With couple of more statements you can also automatically kill the process of that user.
Another script from DOS but shows alerts
Like the one posted before, the use of the SP is like this: proc_alerts 1,18. This will show the first 18 alerts on the system. OR proc_alerts 20,35 will show from 20 to 35. This lets you manage the list without letting go out of the screen.
2001-11-03
1,042 reads