The following is a collection of articles for the Microsoft SQL Server platform which contain SQL that you may find useful for creating alerts in your environment. You can enter the SQL in the Custom Alerts SQL text box as described in Alert on Performance Metrics.