The Best vs. The Good Enough
When you ask a question on the forums, you'll often get responses that certain ways of doing things are inefficient...
2010-04-02
465 reads
When you ask a question on the forums, you'll often get responses that certain ways of doing things are inefficient...
2010-04-02
465 reads
This is one thing outside the SQL World, but it has very strong place in every aspects, it is one...
2010-04-02
618 reads
The DMV for Day 2 is sys.dm_exec_sessions, which is described by BOL as:
Returns one row per authenticated session on SQL...
2010-04-02
419 reads
It had been a long while since I listened to an audio book, found it while browsing at the library....
2010-04-02
387 reads
Here were the goals I posted for 2010 on the last day of December:
Continue managing the forums, but at a...
2010-04-02
499 reads
This is not a technical post, it’s personal, but I need to express my fears. It isn’t about our economy,...
2010-04-01
1,568 reads
Microsoft’s Kevin Cox (from SQLCAT) and I co-authored a blog post titled Using SQL Agent Job Categories to Automate SQL...
2010-04-01
933 reads
I received my renewal notice and, after checking the message header, it is April 1st, I got very happy. I’d...
2010-04-01
512 reads
Just as an experiment, I am going to post a different DMV query every day for the next 30 days. ...
2010-04-01
897 reads
I have a passing interest in storage technology and trends so you can probably guess I got really excited after...
2010-04-01
509 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...
Comments posted to this topic are about the item Optional Parameter Plan Optimization in...
Comments posted to this topic are about the item AI Experience Gap that we...
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