Heads I win, Tails You Lose
Imagine going to a casino with $100 dollars to gamble. As you enter, you notice a vending machine that sells...
2009-03-22
635 reads
Imagine going to a casino with $100 dollars to gamble. As you enter, you notice a vending machine that sells...
2009-03-22
635 reads
I've been amazed at the amount of content that I am getting at SQLServerCentral. So far, in 2009, I've received...
2009-03-20
636 reads
I’m not sure how I feel about Amazon invoking the DCMA clause to prevent other e-books from being read on...
2009-03-20
992 reads
I've been slowly looking at and experimenting with LinkedIn to see if it has value and if so, how to...
2009-03-19
918 reads
I found a cool video on the 37 Signals blog that showed the Audi A4 production process. It’s relatively low...
2009-03-19
782 reads
Starting the summer 2002, for about a year or so, the team and I embarked on a project to develop business...
2009-03-19
984 reads
I joined in late to a conference call this morning from Quest where a number of their experts were talking...
2009-03-19
1,073 reads
I committed today to attend SQL Saturday #14 in Pensacola on June 6, 2009. I'll be giving The Modern Resume...
2009-03-19
580 reads
I was browsing the March 2009 issue of Visual Studio Magazine today and found that it's changing again. It's been...
2009-03-19
780 reads
I tend to work with a fair number of documents in my job. Between articles that are sent to me,...
2009-03-18
1,132 reads
I’m excited to announce the release of a new open-source project that fully automates...
One of my favourite features of SQL Server 2022 was the T-SQL Snapshot Backups....
By Steve Jones
I have said and written this many times: Redgate Software is the type of...
Alamat BCA KCP Purwosari WHATSAPP:083178278662 Solo Center Point, Ruko No. A11 & A12, Sondakan,...
WHATSAPP:083178278662 Jl. Raya Palur No.Km 5, Jurug, Ngringo, Kec. Jaten, Kabupaten Karanganyar, Jawa Tengah...
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