User Tables and their row count
Returns the Owner, Table Name, Row count for all user tables in the current database.
2002-03-11
614 reads
Returns the Owner, Table Name, Row count for all user tables in the current database.
2002-03-11
614 reads
It's time for T-SQL Tuesday #198! This month's topic is change detection. The post T-SQL...
By James Serra
Model Context Protocol, or MCP, is one of those technical ideas that sounds more...
When starting with AWS RDS Aurora for managing relational databases in the cloud, many...
Whatsapp:08216977726 Jl. Pondok No.94, Belakang Pd., Kec. Padang Sel., Kota Padang, Sumatera Barat 25134
Jl. Jend. A. Yani Jl. Mabuun Raya No.KM 220 No. 4-5, Mabu'un, Kec. Murung...
Komp, Blk. DD, Jl. Letjend Suprapto Jl. Sentosa Perdana No.12A, Tembesi, Kec. Sagulung, Kota...
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