T-SQL Tuesday #10 - Indexes
It’s time for T-SQL Tuesday again, the brainchild of Adam Machanic (Blog|Twitter), and this month’s topic is Indexes. A thanks...
2010-09-14
1,641 reads
It’s time for T-SQL Tuesday again, the brainchild of Adam Machanic (Blog|Twitter), and this month’s topic is Indexes. A thanks...
2010-09-14
1,641 reads
I will be speaking at SQL Saturday #52 - Colorado in a little less than two weeks. I am giving my...
2010-09-13
1,082 reads
I ran across a great blog titled: Post 300 or why all developers should be blogging. The reasons given in...
2010-09-13
1,226 reads
I use VirtualBox from Sun to do SQL testing since it supports 64-bit guest images, which I want need for...
2010-09-10
1,614 reads
I have been trying to better track my goals this year, and find myself failing at some, exceeding at others....
2010-09-10
426 reads
This Friday Steve Jones is looking for the instrumentation or monitoring that you build into your applications.
2010-09-10
201 reads
It’s not safe for work (NSFW), so be sure that you’ve implemented a cone of silence as appropriate for your...
2010-09-10
612 reads
A reminder today that there are people that enjoy their jobs. Steve Jones reminds us that we should take jobs based on that criteria.
2010-09-09
260 reads
I ran across this blog post on Joe Celko’s Restaurant Seat Assignment Problem that found a way to implement the...
2010-09-09
309 reads
I haven’t been thrilled with GUIDs as primary keys, mainly because I think that it’s hard for humans to work...
2010-09-08
1,476 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