Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Count number of tables in database 1

Status
Not open for further replies.

jasonhuibers

Programmer
Sep 12, 2005
290
CA
I need a query that can count the number of tables in a database?
 
Note that INFORMATION_SCHEMA.TABLES contains both types tables; both base tables and views.

And you will only get information about tables you have access rights to.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top