Category Archives: Microsoft SQL Server
-
Small identity columns
5October 9, 2017 by Kenneth Fisher
We frequently talk about dealing with outgrowing INT identity columns. What we don’t talk about all that often is small …
Continue reading -
The Alpha and the Omega. The BEGIN and the END.
2October 4, 2017 by Kenneth Fisher
The BEGIN/END block is a fairly standard thing if you’ve ever done any coding, but it never hurts to do …
Continue reading -
Haunted SQL
Leave a commentOctober 2, 2017 by Kenneth Fisher
I decided that for Halloween this year it would be fun to tell SQL ghost stories. When I tweeted about …
Continue reading -
SQL Homework – October 2017 – Sample/Test Database(s)
3October 2, 2017 by Kenneth Fisher
Last month your homework was to set up your own lab. Now it’s time to put a sample database or …
Continue reading -
SQL Puzzle – Prime Numbers
9September 27, 2017 by Kenneth Fisher
My goal here is to have something fun (and hopefully educational/thinky) (and yes, I did just make up the word …
Continue reading -
Saving and restoring session options settings
4September 25, 2017 by Kenneth Fisher
There are a fair number of options settings. ANSI_NULLS, ARITHABORT, QUOTED_IDENTIFIER, etc. Each session has its own set of configurations. …
Continue reading -
Do what I say, not what I do
Leave a commentSeptember 20, 2017 by Kenneth Fisher
I told you not to use NOLOCK even though I use it sometimes. I told you not to shrink databases, …
Continue reading -
Uniquifier is a rather unique word isn’t it?
8September 18, 2017 by Kenneth Fisher
tl;dr; The uniquifier is used to make a non-unique key in a clustered index unique. Uniquifier is a rather funny …
Continue reading -
Help! My query is too fast!
1September 14, 2017 by Kenneth Fisher
Said no one ever. Well, maybe. I have had occasions where I needed a brief pause in the middle of …
Continue reading -
Turn on/off Azure VMs with Powershell
1September 12, 2017 by Kenneth Fisher
T-SQL Tuesday has rolled up on us yet again. This month it’s Rob Sewell’s (b/t) turn to host and picked …
Continue reading





