My Humble SQL Tips

I'm keeping this blog as a repository for SQL tips and tricks I have learned over my time working with SQL Server.

Friday, 2 September 2016

Query To Find SQL Audit Details

›
I've been deploying a SQL Server auditing solution for our new SQL 2014 estate. I know, we're a few years behind. But if you saw som...
2 comments:
Monday, 1 February 2016

Restarting a service with PowerShell

›
We use Redgate's SQL Monitor to keep an eye on our mission critical servers. I like the product. It is reasonably user-friendly, reliabl...
122 comments:
Monday, 7 December 2015

Databases With No Recent Backups

›
I've written the script below to easily identify databases that have not had backups taken within a certain amount of time. This could b...
1 comment:
Wednesday, 25 November 2015

Script to Alter File Growth

›
I recently inherited a large estate of SQL Servers. Over the years, before I started, it grew organically and was managed by an insufficient...
Friday, 11 September 2015

Finding When A SQL Agent Job Ran

›
A quick post for today since I haven't added anything in quite a while. Recently, I was investigating a deadlock that was occurring, l...
Friday, 24 July 2015

SQL Server Optimization

›
This post aims to aggregate a lot of the best practice or otherwise recommended configuration for SQL Server performance. It is meant as a s...
Tuesday, 26 May 2015

Add an Operator to All SQL Server Agent Alerts

›
I was investigating a new server I'd been assigned, looking for gaps in configuration using the trusty sp_Blitz tool. The organisation t...
Tuesday, 19 May 2015

Study Materials for MCSE Microsoft Exams 70-457, 70-458, 70-459

›
/***UPDATE***/ I passed the 70-457! Now studying for 70-458... I passed the 70-458! Now studying for 70-459, booked for Jan 29, 2016... /...
6 comments:
Friday, 15 May 2015

SQL Login and User for Performance Tuning

›
I've run into an interesting dilemma: as a new staff member in a security conscious organisation, I can't really get any work done. ...
Thursday, 14 May 2015

Database Backup Monitoring

›
Not everyone has access to off-the-shelf monitoring tools. One of my clients is a very small shop with only a few databases and 2 database s...
1 comment:
‹
›
Home
View web version

About Me

Thomas Mucha
View my complete profile
Powered by Blogger.