System databases maintenance in SQL Server
Let’s talk about maintenance of system databases in MS SQL Server. There are a few differences from user databases.
At first let`s remember...
2015-08-12
2,027 reads
Let’s talk about maintenance of system databases in MS SQL Server. There are a few differences from user databases.
At first let`s remember...
2015-08-12
2,027 reads
Let`s consider a situation when you need to build a server with SQL Server used by multiple client applications. Here...
2015-08-03
16,688 reads
It may happen so that you don`t know the password of sa user for SQL Server you inherited from somebody....
2015-07-31 (first published: 2015-07-23)
4,780 reads
This is a first article in a series of articles about real life database and IT infrastructure migration project which...
2015-07-31
3,332 reads
In this article we`re going to address the question about autogrowth settings of the database. To be more precise we`re...
2015-07-30 (first published: 2015-07-21)
7,824 reads
Today we can already say with certainty that the most striking innovation in the MS SQL 2014 is the In-MemoryOLTP. In-Memory...
2015-07-24
1,210 reads
While trying to restore SQL Server database or do any other actions which require exclusive database access you may face...
2015-07-20
8,259 reads
Sooner or later every DBA needs to purge old data from database tables. And it often happens that such tables...
2015-07-17
3,560 reads
Paging is one of the most highly required features during application development process. Microsoft has introduced various features since the...
2015-07-16 (first published: 2015-07-13)
2,857 reads
If you need to create an index in order to improve performance of the queries running against table variable (@temptable)...
2015-07-10
4,527 reads
By SQLPals
Beware of Generic SQL Server License Keys (What to Use Instead) ...
By Brian Kelley
Professor Patrick Winston of MIT used to give a one-hour talk about how to...
By Steve Jones
One of the popular features of Redgate Monitor has been the ability to add...
Comments posted to this topic are about the item Creating a JSON Document II
By VishnuGupthanSQLPowershellDBA
Comments posted to this topic are about the item Backing Up Azure Key Vault...
Comments posted to this topic are about the item Every Database Has Problems
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