Random SQL tips and best practices

Kevin Kline posted on wait states here with some valuable insight: TROUBLESHOOTING SQL SERVER WAIT STATS A number of these are from Adam…

Configuring SQL Database Mail

Here is a sample script for configuring database mail in the event you want to automate your SQL installs.      

How SQL Server processes a query

The logical order in which SQL Server parses a query and generates an execution plan: 1. FROM [left_table] 2. ON [join_condition] 3. [join_type]…

Using the KILL command

You can view the status of a KILL command used to stop an open transaction by typing the following:

Views – 619