T-SQL Tuesday #74 – Be the change (MERGE static data)

T-SQL Tuesday #74 – Be the change (MERGE static data)

Each month, on the first Tuesday of the month, the announcement for the blog party T-SQL Tuesday comes out. Those that are interested then post their blogs, on the subject selected, on the second Tuesday of the month. If you’ve…

Keeping up with changes to Books Online

Keeping up with changes to Books Online

Keeping up with new features of SQL Server can be a challenge. What is even more challenging, though, is keeping up with changes to existing features. Re-reading Microsoft books online is tedious and differences between versions are not always easy…

Performance tuning backup and restore operations

Performance tuning backup and restore operations

The standard backup strategy seems to always include backups running at midnight, hoping that they complete before anyone starts using the applications. There is value in performing maintenance on off-hours. However, many applications do not have off-hours or our databases grow…

Guest Post: Identifying and handling blocked processes in SQL Server

Guest Post: Identifying and handling blocked processes in SQL Server

Author Bio: Priyanka Chouhan is a technical writer in Stellar Data Recovery with 5 years of experience and has written several articles on SQL server & SharePoint. In her spare time she loves reading and gardening. Identifying and handling blocked processes in SQL…

Statistics Parser

Statistics Parser

Today I’d like to recommend a free community tool, StatisticsParser.com. Statistics Parser is web-based tool for interpreting the text output of the T-SQL SET STATISTICS IO and TIME settings. The tool was created and is maintained by Richie Rump (b…

T-SQL Search Snippets

T-SQL Search Snippets

Here are two snippets that I use often to search for objects on a variety of servers. The first will search any object within a database and the second will search various elements of SQL Agent jobs. Object search USE…

Connect to SQL Server on Azure VM via Local SSMS

Connect to SQL Server on Azure VM via Local SSMS

After you provision a Microsoft Azure VM with SQL Server there are a few more steps that you need to take to make remote connections. The procedure below starts with a fresh Azure VM provisioned and walks through the process…

SQL PASS Summit 2015

SQL PASS Summit 2015

Another amazing PASS Summit week is complete and I am sitting in SEA-TAC airport, waiting for my flight back to the east coast (at the time I wrote this). I am going to hop on the red-eye in about an…

Counting NULLs and sub-sets of data

Counting NULLs and sub-sets of data

Quick Tip: Counting NULLs and sub-sets of data You have been asked to produce a chart which will visualize a few data points. Total work orders. Total closed work orders (work orders with EndDate populated). Total open work orders (work…

Help! I am Locked Out of my SQL Server Instance

Help! I am Locked Out of my SQL Server Instance

Beginning with SQL Server 2008, local administrators are no longer SQL Server sysadmins by default. Microsoft removed this feature in an attempt to increase security. I agree with the change. The principle of least privilege would imply that even system administrators…