SQL Server 2016 Row Level Security In Action
Row Level security was introduced with SQL Server 2016 and allows us to specify predicates for what rows can be...
2017-06-07
42 reads
Row Level security was introduced with SQL Server 2016 and allows us to specify predicates for what rows can be...
2017-06-07
42 reads
DROP IF EXISTS
This allows us to drop objects without first having to check if they exist. It works on pretty...
2017-06-06
52 reads
If you’re using Windows Authentication then you probably have a database user for each user of your application or at...
2017-06-05
191 reads
I was recently debugging a slow running SQL instance, when checking the wait stats I noticed a lot of BAD_PAGE_PROCESS...
2017-06-03
85 reads
One of the new features SQL Server 2016 introduced is Dynamic Data Masking. This feature allows sensitive data to be...
2017-06-01
72 reads
If you’ve ever searched for SQL Server parameter sniffing you’ve probably read all sorts of bad things about it. In...
2017-05-31
117 reads
What Are Filtered Indexes
Filtered indexes are essentially an index with a predicate on them filtering the data that gets stored...
2017-05-30
62 reads
SQL Server Window Functions were introduced in SQL Server 2005 with a basic set of operators and massively upgraded in...
2017-05-23
76 reads
SQL Server statistics are often thought of as a bit of a black box, this is completely not the case...
2017-05-22
126 reads
When using row level indexes there are two types Clustered and NonClustered both of which are there to make data...
2017-05-16
97 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