Scripts

Valuable SQL Server Scripts tips, tutorials, how-to’s, scripts, and more for SQL Server Developers.

Capture all statements for a SQL Server session

One thing that frustrates me is that sometimes I write these great queries, but often forget to save them or can't remember exactly what the query looked like that I ran five iterations ago. One smart thing to do would be to always save your scripts, but