SQL Server Myth on Clustered Index page allocation or B-Tree formation
Here is another SQL Server myth which I realised while understanding anatomy of index pages.
For a long time I...
2011-07-11
2,354 reads
Here is another SQL Server myth which I realised while understanding anatomy of index pages.
For a long time I...
2011-07-11
2,354 reads
Once again this year we’ll be holding a meeting open to all SQLSaturday event leaders and key team members (and...
2011-07-11
615 reads
There are times you really do want to stripe backups across multiple files. If you have a short backup window,...
2011-07-11
2,296 reads
I was reviewing some code recently that has been in production for a while and I saw something like this:
set...
2011-07-11
591 reads
Despite the title, this is a serious blog entry, dedicated to all you pet lover's out there. Although, I seek to...
2011-07-11
1,007 reads
It has been a few weeks since I last posted. I know, I’m a slacker, thanks for pointing that out. ...
2011-07-10
390 reads
I saw an article in the newspaper titled How to Visit 30 Ballparks in 35 Days This Summer. I think...
2011-07-08
668 reads
Today, I needed a way of searching through a database, any database, looking for a certain string. The procedure I...
2011-07-08
3,814 reads
My children never cease to delight me in all kinds of ways, but never more when they come up with some...
2011-07-08
516 reads
If you are new to Business Intelligence (BI) and learn best by watching videos and “playing”, then this course is...
2011-07-08
5,216 reads
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...
It's time for T-SQL Tuesday #198! This month's topic is change detection. The post T-SQL...
We suffered a SPAM attack from May 1-6, which unfortunately corresponded with time off...
Hi to all We have situation at a client where someone is illegally changing...
Hi to all We have situation at a client where someone is illegally changing...
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