Blogs

Using APPLY for calculations

Here’s a little TSQL snack. I picked this up in a presentation by Itzik Ben-Gan at the PNWSQL user group recently, and it’s become a fast favorite.

Continue reading

Dynamic Management Quickie: Explore SQL Server system views and functions as you work

There’s a lot of dynamic management and system objects to keep track of in SQL Server. We all sometimes have the moment when we can’t remember exactly which DMV, DMF or other system view/function returns a particular column, or if something even IS accessible from the system objects.

Continue reading

Be My Date Next Tuesday, March 15 at 24 Hours of PASS

Next week the Professional Association for SQL Server will be providing 24 hours of free, online training on SQL Server.

Come get your learn on.

Continue reading

How To: Automate Continuous SQLServer Activity with Stored Procedures and Powershell Jobs

It’s often useful to be able to run a bunch of stored procedures in the background over a period of time against a test instance.

Continue reading

The Magic of the Self-Assigned Lab (SQLSkills Immersion Training Days 2 and 3)

Today, more blog from SQLSkills Immersion Training on Internals and Performance in Dallas, TX. For more about the training, see my prior post.

Continue reading

From Record Structures To TempDb in 9 Hours or Less (SQLSkills Immersion Training Day 1)

This week I’m one lucky duck: I’m thrilled to be at SQLSkills Immersion Training on Internals and Performance in Dallas, TX.

Continue reading

Dirty Pages and Statistics IO

Warning: The DROPCLEANBUFFERS command referenced in this post is appropriate for test systems only and impacts the entire SQL Instance. If you are new to SQL Server, please use this commands with care, and be careful to read the linked Books Online documentation. Happy testing!

Continue reading

More Running with Scissors: Corrupting your Database with 823 Errors

This weekend, a question came up on Twitter asking if there was an easy way to simulate an 823 error. It seemed like a fun task to figure out.

Continue reading

Guidelines for Presentation Titles

The recent trend towards online voting to select presentations for events at SQL Server conferences got me thinking: this is a great opportunity to look at how people vote, and consider what this means about presentation titles and abstracts.

Continue reading