sp_help_partition
If you are using partitioned tables, this may come in handy. I’ll keep it short and just post the code....
2010-08-08
1,740 reads
If you are using partitioned tables, this may come in handy. I’ll keep it short and just post the code....
2010-08-08
1,740 reads
This blog series will cover several different methods to collect drive information from a Windows server that is running SQL...
2010-06-29
2,643 reads
SSIS-DTS Package Search 2.0.18 has been released. This is a bug fix release that addresses a problem with the search...
2010-06-08
814 reads
The DTS support in SQL Server 2005 and 2008 is excellent (almost). Typically the packages and jobs do not need...
2009-11-02
1,336 reads
The download page for SSIS-DTS Package search presents three choices:
SSIS-DTS Package Search for SQL Server 2000 on Windows x86SSIS-DTS Package...
2009-08-12
1,465 reads
My primary development machine for the past 3 years was a 32 bit Toshiba Satellite notebook running XP named PROBE-DROID....
2009-06-04
856 reads
Denny Cherry wrote a blog post recently discussing whether to run anti-virus software on Sql Server machines. He said you...
2009-05-20
780 reads
When creating a table with a column that will hold the name of a stored procedure that feeds an EXEC...
2009-04-30
1,434 reads
2009-04-28
1,482 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...
Telp/wa 085169998803 Jl. Suari No.18, Purwodinatan, Kec. Semarang Tengah, Kota Semarang, Jawa Tengah 50121
BCA KCP Radio Dalam Hub.0821•3111•185 Jl. Radio Dalam Raya No.5 B-C, Gandaria Utara, Kec....
BCA KCP Pasar Kebayoran Lama Hub.0821•3111•185 Jl. Raya Kby. Lama No.174, Cipulir, Kec. Kebayoran...
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