Quantcast
Channel: Devin Knight » T-SQL
Browsing all 5 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

SQL Server 2008 Change Data Capture

SQL Server 2008 has a new Change Data Capture feature that allows you to track Inserts, Updates, and Deletes on a table. A lot of the features I’ve used in the past to detect changes are generally very...

View Article



Image may be NSFW.
Clik here to view.

IntelliSense Slow to Refresh

IntelliSense in SQL Server 2008 can sometimes not be very intelligent.  It’s there to help you can sometimes cause more problems than it does solve problems.  Here’s one of those problems cases:...

View Article

Image may be NSFW.
Clik here to view.

Issues With Calculating Current Age Using DateDiff (Rounding?)

Recently I inherited a set of SSIS packages that did a pretty simple calculation for age.  It used the following expression, which could just as easily be in T-SQL, to return back the current age of a...

View Article

Image may be NSFW.
Clik here to view.

Date Dimension Using Computed Columns

Picked up this nice script from a client last week.  Use this script below to create a Date Dimension for a data warehouse that is based off of computed columns. The only column that needs to be...

View Article

Image may be NSFW.
Clik here to view.

Modified Insert Unknown Row to Dimension Table

A little over a year ago Patrick LeBlanc wrote a blog post about inserting an unknown row into a dimension.  This is a great script and i’ve used it dozens of time, but this week I made a few...

View Article

Browsing all 5 articles
Browse latest View live




Latest Images