Be Careful with String Concatenations in SQL Server with Big Strings.
Now, we are going to get slightly esoteric here. I'd noticed that the performance of string concatenation tasks didn't increase...
2009-02-16
14,618 reads
Now, we are going to get slightly esoteric here. I'd noticed that the performance of string concatenation tasks didn't increase...
2009-02-16
14,618 reads
It’s rare that I’ve taken vacation in the last few years. In fact, when I took an unwired week in...
2009-02-16
718 reads
You can read the previous posts here. To finish up my thoughts on networking I want to brain storm some...
2009-02-15
636 reads
I diverge a little from the typical coding-based/oriented best practice to one that is focused on governance within public or government organisations...
2009-02-15
7,941 reads
I have always been of the personal opinion that all SQL Server tables have a clustered index. As part of...
2009-02-13
4,301 reads
This past weekend we were moving database files around because we added new LUNs to an existing production cluster. We...
2009-02-13
2,165 reads
I have a personal web site I set up years ago, mainly so I could post stuff for my extended...
2009-02-13
836 reads
I love my Kindle, but it uses an older e-ink technology that's a little slow and doesn't support color. Not...
2009-02-13
986 reads
I think we've all seen and heard about Flight 1549 doing the emergency landing on the Hudson River. Truly a...
2009-02-12
571 reads
There are a number of occasions when one might want to insert information at various places in a string. Where...
2009-02-12
1,893 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