August 14, 2014 at 8:28 am
Dear all,
I need to find a way of sending a text message preferably when any blocks occur in sql server. For example, is there a way that it could be set up in the Alerts section within SQL Server engine please?
Thank you in advance!
August 14, 2014 at 10:46 am
Yes, you can use the SQL Agent Alerts. Here's an introduction to them in the Books Online.
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
August 19, 2014 at 5:22 am
I tried using the following script to set up the SMS for the provider tmobile for example, but it still does not work,
USE [msdb]
GO
EXEC msdb.dbo.sp_send_dbmail
@recipients = ukmobilenumber@tmomail.net,
@subject = "Test SMS",
@body = "test sms"
GO
Would you please let me know what is going wrong?
Thank you!
August 19, 2014 at 6:18 am
Not without error messages or something that indicates what's going wrong on your end, no.
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply