/*============================================================================
  File:     4a_Create_Operator.sql

  Summary:  This script will create an Operator for your instance

  Date:     April 2017

  SQL Server Version: 2008/2008R2/2012/2014/2016
------------------------------------------------------------------------------
  Written by Erin Stellato, SQLskills.com

  For more scripts and other useful content, go to:
	http://www.SQLskills.com

  This script is intended only as a supplement to demos and lectures
  given by Erin Stellato.  
  
  THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF 
  ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED 
  TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  PARTICULAR PURPOSE.
============================================================================*/

USE [msdb]
GO

EXEC msdb.dbo.sp_add_operator @name=N'SQLDBAGroup', 
		@enabled=1, 
		@pager_days=0, 
		@email_address=N'dba_team@sqlskills.com'
GO