Question : T-SQL: Count number of tables in the DB (SQL server 2008)

Hi, Experts

Could you please teach me how to count number of tables in a giving database in SQL Server 2008.

thank you

Answer : T-SQL: Count number of tables in the DB (SQL server 2008)

use databasename

select count(*) from sys.tables
Random Solutions  
 
programming4us programming4us