Posts Tagged ‘sql server’

Joe Celko recalls an old-school pre CASE statement trick

September 12, 2009 - 12:16 am No Comments

Adam Machanic interviews Joe Celko at the 2006 PASS Summit where Joe recalls an old trick that was used before the CASE statement was added to the SQL language.

Duration : 0:0:48

(more…)

Code Sins: Formatting

August 31, 2009 - 6:16 am No Comments

I declare Code Sin #1: poorly formatted code. Look, the video’s uner 90 seconds long…watch it. Your successors, your coworkers — your CHILDREN, will thank you.

Duration : 0:1:26

(more…)

TSQL: Select Statement Evaluation Order

August 22, 2009 - 5:14 am No Comments

How does SQL see a SELECT statement? Which part gets evaluated first? Why should I care? Find out here, find out fast!

1 - From
2 - Where
3 - Group by
4 - Having
5 - Select
6 - Order by

Duration : 0:2:5

(more…)