SQL Server Tune Your Transaction Log
Whenever a transaction log file grows the space it is allocated is divided up into virtual log files (VLFs). Depending...
2018-02-26
100 reads
Whenever a transaction log file grows the space it is allocated is divided up into virtual log files (VLFs). Depending...
2018-02-26
100 reads
I see a lot of posts online about rebuilding indexes in a scheduled maintenance task, this is a pretty intensive...
2018-02-25
83 reads
I recently came up against a SQL Server instance that wouldnt start, after going through the event log the reason...
2017-08-09
232 reads
Imagine we have the following table
Users
FieldTypeIdINTUsernameNVARCHARDeletedBITThen imagine we want Username to be unique for non deleted users. Normally we would...
2017-08-02
52 reads
SQL Server 2012 introduced IIF and CHOOSE functions and I completely missed they even existed until recently. They make some...
2017-07-06
55 reads
The REPLACE function in SQL Server has until now been quite limited. SQL Server 2017 has introduced a new TRANSLATE...
2017-07-05
1,871 reads
The ability to export a script of database objects has for a long time been a feature of SQL Server...
2017-06-27
87 reads
One of the new less publicized features in SQL Server 2017 is STRING_AGG. This new feature can take an expression...
2017-06-20
90 reads
SQL Server 2017 is the first version of SQL Server that will also run natively on Linux and on macOS...
2017-06-19
43 reads
The Wikipedia Graph Database page has the following definition…
In computing, a graph database is a database that uses graph structures...
2017-06-12
109 reads
PlanTrace: Stop Reading Redshift EXPLAIN Plans. Start Seeing Them Introducing PlanTrace — a free, browser-based...
By Steve Jones
I went to sleep while reading a Kindle book on my phone. I know...
A conversation with Jan Laš, CIO at HOPI, about what deploying a data agent...
BCA KCP Tebet Barat 2 Telpon/WA:085355042311 Jl. Tebet Raya No.25 B Blok CI, Tebet...
Telp/wa 085169998765 Jl. Pemuda No.28-32, Panggang III, Panggang, Kec. Jepara, Kabupaten Jepara, Jawa Tengah...
Rukan Pusat Bisnis, Jl. Daan Mogot Baru No.9 & 10 Blok KJF, Kalideres, Kec....
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 TOP 2
json_objectagg('Team' : TeamName)
FROM dbo.NFLTeams;
See possible answers