Some SQL Server Date and Time Examples
I had a question from a developer yesterday about how to calculate the difference between local time (on the database...
2010-05-06
1,507 reads
I had a question from a developer yesterday about how to calculate the difference between local time (on the database...
2010-05-06
1,507 reads
SQL Saturday #49 in Orlando just opened their call for speakers. I’m debating if I want to go out there....
2010-05-06
886 reads
We recently decided to use Team Foundation Server as our source control and, really, project management system. This decision was...
2010-05-06
478 reads
DBAs & Developers using everyday UPDATE statement, and everytime before update they want to see what to update, after this they...
2010-05-06
3,491 reads
This morning I set out to get some information about getting started in PowerShell for a coworker. Rather than spend a bunch of time searching for different sites I...
2010-05-06
3 reads
Introduction
This morning I set out to get some information about getting started in PowerShell for a coworker. Rather than spend...
2010-05-06
3,216 reads
This morning I set out to get some information about getting started in PowerShell for a coworker. Rather than spend a bunch of time searching for different sites I...
2010-05-06
4 reads
Had logged in to American Express check my business account and noticed this on on the front page – a PASS...
2010-05-05
580 reads
The other day I was looking over a couple of articles on paging, looking to see if I could learn...
2010-05-05
408 reads
The latest issue of the SQL Server Standard is available for download (login required, free registration). Volume 7 Issue 4...
2010-05-05
735 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