Valid 70-765 Dumps shared by ExamDiscuss.com for Helping Passing 70-765 Exam! ExamDiscuss.com now offer the newest 70-765 exam dumps, the ExamDiscuss.com 70-765 exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com 70-765 dumps with Test Engine here:
You have Microsoft SQL Server on a Microsoft Azure virtual machine. You create a SQL Server Agent job by using the following statement. You need to send an email message if the job fails. Which stored procedure should you use?
Correct Answer: C
To notify an operator of job status through Transact-SQL. In Object Explorer, connect to an instance of Database Engine. On the Standard bar, click New Query. -- adds an e-mail notification for the specified alert (Test Alert). -- This example assumes that Test Alert already exists -- and that Francois Ajenstat is a valid operator name. USE msdb ; GO EXEC dbo.sp_add_notification @alert_name = N'Test Alert', @operator_name = N'Francois Ajenstat', @notification_method = 1 ; GO References: https://docs.microsoft.com/en-us/sql/ssms/agent/notify-an-operator-of-job-status?view=sql-server-2017