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,691 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,783 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,825 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,213 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,568 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,530 reads
By ChrisJenkins
Are you currently using Microsoft Fabric or considering migrating to it? If so, there...
By SQLPals
Track SQL Server Configuration Changes Using the Error Log If you...
Good documentation gets you started. Good books get you deep. After years of working...
We have a SQL Server installed. We have a 500GB drive for the database....
Comments posted to this topic are about the item Creating a JSON Document IV
By VishnuGupthanSQLPowershellDBA
Comments posted to this topic are about the item Restoring Azure Key Vault Keys...
I have this data in a table called dbo.NFLTeams
TeamID TeamName City YearEstablished ------ -------- ---- --------------- 1 Cowboys Dallas 1960 2 Eagles Philadelphia 1933 3 Packers Green Bay 1919 4 Chiefs Kansas City 1960 5 49ers San Francisco 1946 6 Broncos Denver 1960 7 Seahawks Seattle 1976 8 Patriots New England 1960If I run this code, how many rows are returned?
SELECT YearEstablished, json_objectagg(city : TeamName) FROM dbo.NFLTeams GROUP BY YearEstablished;See possible answers