|
|
| |

How can I send a message to user from the SQL Server?
Answer:
You can use the xp_cmdshell extended stored procedure to run net send command.
This is the example to send the 'Hello' message to JOHN:
EXEC master..xp_cmdshell "net send JOHN 'Hello'"
To get net send message on the Windows 9x machines, you should run the WinPopup
utility. You can place WinPopup in the Startup group under Program Files.
|
|
|