Sql Server Articles

All articles categorized under "Sql Server".

Creating Partitions Using Dynamic SQL

Creating Partitions Using Dynamic SQL

Recently I wrote a post on partition switching, however, one of the big pieces I left out was how to go about properly partitioning your database tables. Unfortunately, partitioning strategy can vary greatly, but generally your partitions will be aligned with your clustered index (quite frequently date). I recommend reading...

Introduction to Partition Switching

Introduction to Partition Switching

Quite often when building a data warehouse we are given the challenge of having to delete existing data before importing the latest and greatest. In an ideal world we would just insert new records and be on our way, but quite often that is not the case. Deleting data isn't...

Indexing Data Warehouses in SQL 2012

Indexing Data Warehouses in SQL 2012

This week I was at the Detroit MTC for a SQL Server 2012 release event where Rick Brewis (Microsoft) and my friend Josh Fennessy (BlueGranite) presented on the new functionality of SQL Server 2012. One of the highlights Rick’s presentation was the new Columnstore Index, and the huge performance increases...

Checking IP Against CIDR Netmask with T-SQL

I’ve been in the process of improving the functionality in ASLB, one of the improvements I have been working on adding is functionality for ASLB to be smart enough to understand geo-location in a large network. However in doing so I went through many iterations on how to identify which...

You've reached the end of all articles.