Miracle OpenWorld 2010 Slides

After getting some well needed sleep following Miracle OpenWorld 2010 and adhering to the we-do-not-use-sleep rule, I'm finally starting to get on top again, though my body still aches all over.

Read the complete 450 bytes...

Digg it | Kick it | Dzone it | Reddit


Speaking at Miracle OpenWorld 2010

I will be giving two presentations at Miracle OpenWorld 2010 in April.

Read the complete 1163 bytes...

Digg it | Kick it | Dzone it | Reddit


Working with identity column seed & increment values

All of the following samples are based on the following table:

Read the complete 5174 bytes...

Digg it | Kick it | Dzone it | Reddit


Tricky SQL Server decimal math

SQL Server datatypes are not always what they seem to be. Martin Schmidt recently had an interesting blog post (in danish) regarding implicit decimal conversion that sparked my interest.

Read the complete 5407 bytes...

Digg it | Kick it | Dzone it | Reddit


Solving deadlocks through locking hints

Deadlocks in any database can be a hard beast to weed out, especially since they may hide latently in your code, awaiting that specific moment when they explode. An API website, exposing a series of webservices, had been working fine for months, until I decided to run my client app with a lot more threads than usual.

Read the complete 12007 bytes...

Digg it | Kick it | Dzone it | Reddit


Deciphering a SQL Server data page

SQL Server stores all of it's data in what is basically a large array of "pages". Each page is exactly 8kb and can contain various kinds of data, depending on the page type. In this entry we'll explore how to decipher a data page.

Read the complete 19723 bytes...

Digg it | Kick it | Dzone it | Reddit


Query Optimization - A Case Study

Yesterday I did an interview with Søren Spelling Lund for ANUG (Aarhus .NET User Group) on SQL Server Optimization, as a followup to my recent talk on that subject. He asked me an interesting question - what is the normal process of determining the need of an optimization, and how to actually do it? This is a case study from today.

Read the complete 12834 bytes...

Digg it | Kick it | Dzone it | Reddit


ANUG Talk: Optimizing SQL Server 2005

Tonight I held my SQL Server Optimization talk at ANUG. There was an impressive turnout of almost 50 people, and based on the feedback I've received so far, I think it went alright :)

Read the complete 1424 bytes...

Digg it | Kick it | Dzone it | Reddit


SQL Server Mirroring, a practical approach

In this post I'll take a practical approach at talking about what SQL Server Mirroring is, the advantages and considerations that follows.

Read the complete 19534 bytes...

Digg it | Kick it | Dzone it | Reddit


Controlling SqlConnection timeouts

When performing queries against a SQL Server database, there are a couple of methods readily available. However, an option is missing.

Read the complete 3059 bytes...

Digg it | Kick it | Dzone it | Reddit


Weighted random selections in SQL Server

There are no built-in functions for selecting weighted averages in SQL Server. Fortunately it's a simple task to do so oneself.

Read the complete 1755 bytes...

Digg it | Kick it | Dzone it | Reddit


SQL Server datetime rounding made easy

As feature complete as MS SQL Server may be, it really lacks some simple datetime rounding functions. Here is a simple trick to easily round of datetimes at any precision you wish.

Read the complete 2173 bytes...

Digg it | Kick it | Dzone it | Reddit