|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Wednesday, May 15, 2013 8:55 AM
Points: 137,
Visits: 250
|
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Friday, January 22, 2010 8:33 AM
Points: 1,
Visits: 3
|
|
| the query provided by you is not showing database count, it can be used for table count, how we can get the database count in the sql server? is there any way?
|
|
|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Thursday, May 02, 2013 2:32 AM
Points: 2,236,
Visits: 3,620
|
|
gururajkamath (11/10/2009) the query provided by you is not showing database count, it can be used for table count, how we can get the database count in the sql server? is there any way?
The query provided by Jorge will give you record count for all tables in a database. To list out databases, you can query sysdatabases table
select * from sysdatabases will run for both 2000 and 2005 OR
select * from sys.databases specific to sql server 2005
Pradeep Singh
|
|
|
|