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
387 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
387 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
282 reads
While Regular Expressions lets us work with text not cleanly formatted, if you are trying to work with text that...
2018-01-11
236 reads
Have you ever downloaded a script from an internet site, only to find that there are extra blank lines between...
2018-01-10
452 reads
Have you ever had to run a query on multiple servers? You could connect to each server one by one...
2018-01-09
431 reads
Have you ever had a script where you needed to run parts of it on different instances of SQL Server...
2018-01-08
436 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,544 reads
Have you ever had a long script that you are trying to scroll through? Do you wish that you could...
2018-01-06
546 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
366 reads
Have you ever been working in SSMS where you need to frequently access one particular script, but you are spending...
2018-01-04
418 reads
By gbargsley
Hello, dear blog reader. Today’s post is coming to you straight from the home...
By Steve Jones
This month I’m thrilled that Steve Hughes is hosting. I’ve read this Data on...
By Steve Jones
One of the things a customer asked recently about Redgate Data Modeler was how...
Comments posted to this topic are about the item Creating a JSON Document I
Comments posted to this topic are about the item Who is Irresponsible?
Comments posted to this topic are about the item Designing Database Changes Before Deployment:...
I want to create a JSON document that contains data from this table:
TeamID TeamName City YearEstablished 1 Cowboys Dallas 1960 2 Eagles Philadelphia 1933If I run this code, what is returned?
SELECT json_objectagg('Team' : TeamName)
FROM dbo.NFLTeams;
See possible answers