Sharing a Temporary Table
One of the things that I’ve often seen people do is build temp tables to hold data for each connection...
2010-08-11
2,146 reads
One of the things that I’ve often seen people do is build temp tables to hold data for each connection...
2010-08-11
2,146 reads
A good employee should try to affect the bottom line in their company, striving to make a difference. Steve Jones passes on some advice on how to do that today.
2010-08-11
179 reads
Today Steve Jones looks at the new release of restore technology from Red Gate software that allows you to "fool" SQL Server.
2010-08-10
482 reads
Well not me. It wasn’t my design, but when I went through the entries, this was the one that caught...
2010-08-10
927 reads
“Building an easy-to-use tool does not make an amateur more skilled at making applications and more than a $900 table...
2010-08-10
789 reads
I almost forgot about T-SQL Tuesday this time, so I’m scrambling to get an entry done today.
This is a...
2010-08-10
838 reads
Someone posted a note asking how they might restore if the disk that contained their transaction log crashed. I replied...
2010-08-09
417 reads
Did your company lose data last year? It can be hard to know, especially when even laws designed to ensure breaches are reported have loopholes. Steve Jones thinks this is a bad idea.
2010-08-09
89 reads
A friend of my wife’s posted a note asking what people thought of the various devices and which one would...
2010-08-06
1,199 reads
I saw a post earlier this week from Buck Woody called Don’t Mess with the System Databases and I agree....
2010-08-06
358 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