SQL Server Buffer

SQL Server Buffer

Have you ever noticed when you are working on a query for SQL Server and the second time you execute the query it runs much faster than the first time you had executed it?  There is a reason for this and most likely it is caused by your buffer. When your SQL...
Working with SQL Server Error Log

Working with SQL Server Error Log

Often when I am requested to look at an issue with SQL Server I have to spend some time in the error log. On a side note, I think the log itself is a commonly overlooked tool for troubleshooting. Often it can be a bit cumbersome to work with if the default settings...

Query your SQL Server Error Log

Often the things I post about are the items that I am using that day, or recently. Many of the topics, are simply based on how I may have made using SQL Server a bit easier for me to use one way or another. In another SQL Server Error Log post I had mentioned a few of...

Test That Database Backup

Are you testing your database backups, If so how? Sure there are a couple options that you can use to help validate backups but does this mean you are 100% sure, without a doubt, that it can be restored? Have you ever seen a backup file not restore? Recently I was...

Azure SQL Databases

Managing Logins If you have worked with SQL Server a while you may recognize there is a difference between logins and users.  When it comes to managing security with SQL Server it is important to know the difference, and the differences that have come about over...

Alerting on elevation of privileges in SQL Server

Many of our Virtual-DBA clients need to complete audits for compliance with regulations. SOX (Sarbanes Oxley) is a common audit that our customers need to successfully complete. A common question the auditors ask is, “How do you know a user has been granted elevated...

SQL Server Deployment Considerations

In cases when a database change needs to be made there are some good rules that when used can save you a lot of time down the road. Run changes via scripts – Scripts add for precise execution and help remove human error when it comes to typos. When creating scripts...