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.

Tuesday, 14 October 2014

Automating Sliding Partition Windows - Part 4

›
Recurring Tasks In the  previous posts  of this series I both explained the concept of the sliding window partition as well as the way I h...
1 comment:
Tuesday, 13 May 2014

Automating Sliding Partition Windows - Part 3

›
It's been a long while since I've worked on this - and believe me I want to as every month I'm spending too much time manually s...
Tuesday, 4 March 2014

Modify Logshipping Restore Job

›
In my  previous post  I shared a stored procedure that dynamically creates and executes a restore log script in order to ease the recovery o...
Friday, 10 January 2014

An SP to Fix Logshipping After Adding a New Database File

›
UPDATE: 22 Jan 2014 - Fixed some bugs, added multi-file support and added a few notes Every month I need to maintain the various sliding p...
1 comment:
Monday, 18 November 2013

Database Snapshot Stored Procedure

›
We've been trying to tighten up the database release process at work. This involves lots of big and small changes including things like ...
1 comment:
Saturday, 5 October 2013

Automating Sliding Partition Windows - Part 2

›
Sliding Partition Window Concept Before we continue, let’s remind ourselves of what the Sliding Partition Window is and what it gets u...
2 comments:
Tuesday, 24 September 2013

Automating Sliding Partition Windows - Part 1

›
Introduction Table partitioning, as it was introduced in SQL Server 2005 Enterprise Edition, is an incredibly useful feature. It enhances ...
2 comments:
Sunday, 18 August 2013

DMV Queries Tied to My Custom Index Stats Tables

›
I've mentioned a set of DMV queries that I use in a previous post on this blog . I've been chopping and changing the base set of que...
Wednesday, 7 August 2013

Defragging Indexes Without Losing Index Stats - Part 5

›
The stored procedure /********************************************************************************* UPDATE: Bug fixes and increased ...
1 comment:
Wednesday, 3 July 2013

A Script to Fix Orphaned Users

›
I find that one (well, actually, one of many) really annoying things of restoring databases to different servers is the orphaned user! I am ...
2 comments:
‹
›
Home
View web version

About Me

Thomas Mucha
View my complete profile
Powered by Blogger.