The SSMS Super Clipboard (Day 13)
We’re all used to using the clipboard in Windows programs. You copy something into it with Ctrl+C, and paste it...
2018-01-13
400 reads
We’re all used to using the clipboard in Windows programs. You copy something into it with Ctrl+C, and paste it...
2018-01-13
400 reads
In yesterday’s tip, I showed an example of changing a block of text from upper case to lower case. However,...
2018-01-12
291 reads
While Regular Expressions lets us work with text not cleanly formatted, if you are trying to work with text that...
2018-01-11
243 reads
Have you ever downloaded a script from an internet site, only to find that there are extra blank lines between...
2018-01-10
460 reads
Have you ever had to run a query on multiple servers? You could connect to each server one by one...
2018-01-09
455 reads
Have you ever had a script where you needed to run parts of it on different instances of SQL Server...
2018-01-08
444 reads
Do you have scripts that you need to run frequently, but every time you need to set some different parameters?...
2018-01-18 (first published: 2018-01-07)
1,566 reads
Have you ever had a long script that you are trying to scroll through? Do you wish that you could...
2018-01-06
580 reads
So you’re working with a query that you have loaded from a saved file. And now you want to open...
2018-01-05
375 reads
Have you ever been working in SSMS where you need to frequently access one particular script, but you are spending...
2018-01-04
422 reads
When I put together the invitation for T-SQL Tuesday #202, I wasn't sure what...
By Steve Jones
My life has some crazy travel stretches for sure. Between speaking, office visits, customer...
In Part 1, we saw how ‘Vamana’ represents vectors as nodes, connects them with...
Comments posted to this topic are about the item Server-Level Table sizes
Comments posted to this topic are about the item Optional Parameter Plan Optimization in...
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