Yessir, this handy-dandy reference sheet includes the Logical Processing Order of SELECT, shorthand for recursive CTEs and MERGE, the famous list-of-details XML trick, and more! And it’s yours, for only $199.99! FREE!

Why?
Because we like you.
And because it’s a handy-dandy reference for me, too. (After all, wasn’t I the one who put together the Absentminded DBA’s Cheat Sheet?)
Happy days!
Jen
http://www.MidnightDBA.com/Jen
Pingback: Tweets that mention SQL Awesomesauce » Blog Archive » Forgotten T-SQL Cheat Sheet -- Topsy.com
Nicely done…
…but it would be better if it had the bane of my life, the PIVOT! I always have to take three runs at those!
Man, when I get PIVOT worked out for myself, I’ll make a whole cheat sheet dedicated to it 🙁
Neat cheat sheet, however it should have something that explains what certain items do because not only do we forget the syntax, we sometimes forget that we can use some of those instead of far more lengthy and CPU consuming alternatives. Looks like you’ve got to burn the Midnight oil and produce the SQL …er, Sequel.
Well, it’s a cheat sheet…it’s kind of a reminder for after one aquaints oneself with the material at hand. For that, I have a handy-dandy recording of 24HOP 🙂
Pingback: SQL Awesomesauce » Blog Archive » T-SQL for the Absentminded DBA
Hello, the link http://midnightdba.itbookworm.com/PublicDownload/CheatSheet.pdf doesn’t work. (404). Would you please fix it or re-upload the file?
Thanks.
Fernando
In case there’ll be a V2 – the XML fragment (pun ok) should promote the “, type … .value(‘.’)” variant: Less gripes from people that reuse this without thinking and consequently missing their ampersands. And less CPU, too.
Pingback: Tip: Concatenate rows with XML, or COALESCE | The MidnightDBA Star-Times