September 2010
Intermediate to advanced
1704 pages
111h 8m
English
As another example, in the following sections, you’ll create a simple user-defined alert that you can trigger directly from T-SQL script.
You start by creating an alert. To do this, you use the Object Browser to expand the SQL Server Agent node; then you right-click the Alerts node and select New Alert. In the Alert Properties dialog that appears (see Figure 15.3), you name the new alert Database Mail Test Alert and make sure the Enabled check box is checked. For the Event type, you leave the selection on SQL Server Event Alert. Under Event Alert Definition, select AdventureWorks2008 from the Database Name drop-down list, and then click the Severity option button and choose 010 - Information. Next, ...
Read now
Unlock full access