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, 4 August 2017

Check for SQL Server Connectivity

›
My company is revamping its domain structure and tightening up network security. I am one of the guinea pigs and therefore have been put int...
Friday, 28 July 2017

Cleanup SQL Server Logins

›
Cleaning up after someone leaves. We all do it right? Our companies all have water tight policies and procedures to handle that, or maybe th...
3 comments:
Friday, 5 May 2017

Compress your database tables

›
SQL Server has offered data compression since SQL 2008. It is a very good feature but, as with almost everything SQL Server, it needs to be ...
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...
‹
›
Home
View web version

About Me

Thomas Mucha
View my complete profile
Powered by Blogger.