A quicker way than using count(*)
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
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
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