SQL Server History Cleanup Task

This feature in the maintenance plans in SQL Server seems to be either ignored or over used. Either people do not put this step into any maintenance plan causing MSDB database to grow large over time. Or they have this step placed in every maintenance plan not fully...

SQL Server Profiler Trace Tutorial

I recently had a client ask me about how to use profiler. I looked online and did not find anything that was concise and to the point for what I wanted to show him so I decided to just make a quick tutorial which is listed below. This tutorial covers the usage...

Recovering from a crippled login

Quick, DBA with the sysadmin role in SQL Server: What’s your default database? I’ll bet you think it’s the master database. But, as I learned this weekend, that’s not something you can take for granted — especially if you didn’t...

Dial down developer permissions

Given the general mayhem and wanton destruction database developers can inflict on an organization, you’d think there’d be a best-practices set of SQL Server permissions that DBAs should grant developers. Or better yet, a “dbdeveloper” server...

Have enough DBAs?

How do you know if you have the right number of database administrators (DBAs) on staff to properly take care of your environment?  All your organization’s databases need to be kept operational and properly tuned, which probably requires around the clock...