Think Using .. In Code Is A Time Saver? Think Again!
Ok, so what is this 4 part naming convention? It is the way the SQL Server (and other DBs out...
2016-09-23
489 reads
Ok, so what is this 4 part naming convention? It is the way the SQL Server (and other DBs out...
2016-09-23
489 reads
You’ve got your team; now you need to find a somewhere to host your event. If you are lucky, you...
2016-09-22
410 reads
I just released an update to the sp_WOxCompliant script to fix a couple of issues. You can download it here! What...
2016-09-22
482 reads
A lot of these types of events are pulled together by the local user group. If there is none, it...
2016-08-31
730 reads
To kick off this series, I thought it would be worthwhile to discuss why it is I step up to...
2016-08-26
435 reads
This month’s T-SQL Tuesday (#080) is being hosted by Chris Yates (B|T) (Happy B-day Chris!). He decided that this month’s...
2016-07-12
523 reads
A while ago I was watching Shark Tank on TV and at one point Robert Herjavich (T|B) made the great...
2016-06-29
694 reads
No Sessions For You! The announcements of the speakers and sessions selected for the PASS Summit 2016 were recently announced,...
2016-06-24
419 reads
You have brains in your head. You have feet in your shoes. You can steer yourself in any direction you...
2016-04-28
803 reads
Aliases! They can be quite helpful, but they can also be a major pain when setting up new servers or...
2016-03-09
798 reads
By gbargsley
It's 2 AM. Your phone is going off. Users can't connect to the application,...
By Steve Jones
I discovered a procedure recently that I wasn’t aware of: sp_sequence_get_range. This post looks...
By Arun Sirpal
After a year away getting to grips with AI and its application across the...
Fisher Phillips is looking for a Financial Systems Administrator to help support and improve our financial...
Employee owned company, been around for over 50 years. Hybrid opportunity, looking folks in Pacific...
i have huge table with lot of data and is also wide. i took...
I want to create a JSON document that contains data from this table:
TeamID TeamNameCity YearEstablished 1 Cowboys Dallas 1960 2 Eagles Philadelphia 1933 3 Packers Green Bay 1919 4 Chiefs Kansas City 1960If I run this code, what document(s) is/are returned?
SELECT json_objectagg( n.city : n.TeamName) FROM dbo.NFLTeams;See possible answers