Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Nomber of records in each table
Message
From
26/12/2008 16:10:52
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Miscellaneous
Thread ID:
01369750
Message ID:
01369794
Views:
8
This message has been marked as a message which has helped to the initial question of the thread.
>Is there a SQL command I can use to get a list of all the tables along with the number of records in each table in a database?
>
>Thanks,
>Einar
select rowcnt,object_name(id) 
from sysindexes
where indid < 2 and object_name(id) not like 'sys%'
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform