Monthly Archives: December 2013


Group Server Queries: ad hoc management

Group Server Queries: ad hoc management

Recently, I worked on a project which involved auditing a dozen of SQL server instances. A process I usually script upfront however, due to constraints on my time and some local challenges (a very “opinionated” customer) wasn’t able to do so. Fortunately I discovered this somewhat unknown “Group Server Queries” option a while ago, so gave it a try and was pleasantly surprised.

Read More →

Automatically deallocate Azure VM’s

Automatically deallocate Azure VMs

Last month I was surprised to see that my Azure bill went up quite a bit. Not knowing that I forgot to deallocate my Azure development VMs. Fortunately, this didn’t break the bank, but would like to avoid this in the future. So therefore I created a simple script to Deallocate Azure VM’s.

Read More →

SQL Server – Default to simple recovery model

SQL Server - Default to simple recovery model

SQL server’s recovery model is crucial for designing a backup and restore strategy. However, it can be a bit of a management chore when dealing with Development server.

If you don’t want to be bothered to look at databases where the log file is 100 times larger than the data files then the following might come in handy:

Read More →

SQL Database Integrity Reports

SQL Database Integrity Reports

Validating database integrity on a regular basis is a fundamental task that is often forgotten by the accidental DBA. Fortunately SQL Server database corruption issues aren’t very common, however finding out that you have been backing up a corrupt database for weeks might be somewhat hard to explain to the business.

Read More →