Connecting Tech Pros Worldwide Help | Site Map

How to count objects in Database?

Newbie
 
Join Date: Dec 2007
Posts: 15
#1: Sep 9 '08
How to check number of objects present in the database?

(In sql ,we use sys.objects)

Similar to this in MySql.
Atli's Avatar
Moderator
 
Join Date: Nov 2006
Location: Iceland
Posts: 3,745
#2: Sep 9 '08

re: How to count objects in Database?


For the record, SQL is not just one specific database server. It is the name of the query language ;)
(Although Microsoft, being somewhat nearsighted, just named their server SQL Server.)

In MySQL, you can get a list of all tables in a database by using the SHOW TABLES command.
Reply