Dirty looking SQL or MDX? Clean it up
A quick tip for you: Ever get some SQL or MDX sent to you in an email, or copied from a...
2011-05-11
682 reads
A quick tip for you: Ever get some SQL or MDX sent to you in an email, or copied from a...
2011-05-11
682 reads
A quick little tip I found a couple of years ago. Ever use the count(*) syntax and it takes forever...
2011-05-09
570 reads
There are three job boards that I use: Dice, Monster, and LinkedIn. I prefer Dice by far, since it has...
2011-05-06
1,291 reads
I see this issue pop up every now and then: A developer creates an SSIS package in BIDS and gets...
2011-05-04
799 reads
As I mentioned in my first post, I thought it would be real difficult to think of things to blog...
2011-05-02
568 reads
So my sister called me the other day to tell me she has a message on her laptop that said...
2011-04-29
1,673 reads
In creating this blog, I was thinking about using some catchy name for myself. Something with “DBA” in it. However,...
2011-04-27
750 reads
Hello World. Stardate 1513.1. After reading that, if you know what I am referring to, you are a tech-head and...
2011-04-25
729 reads
By Steve Jones
My life has some crazy travel stretches for sure. Between speaking, office visits, customer...
In Part 1, we saw how ‘Vamana’ represents vectors as nodes, connects them with...
I’m excited to announce the release of a new open-source project that fully automates...
Comments posted to this topic are about the item Server-Level Table sizes
Comments posted to this topic are about the item Optional Parameter Plan Optimization in...
There is a table tmp_tab:
CREATE TABLE tmp_tab ( id int, val int );
INSERT INTO tmp_tab VALUES (1, 1), (2, NULL), (3, 3), (4, 4), (5, 5);You want to order the rows ids by the following expression:
ISNULL(val, id) + 1Which of the following queries produces the expected ordering and why? (Select all correct) See possible answers