Like MySQL has “SHOW TABLES” , how do you count tables in Oracle DB. Little bit of research gave me this query:
select owner, count(*) from dba_tables
So like MySQL has a standard command, does Oracle have one?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yeah sure your query will work just modify it a little. Look here for refrence : http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/statviews_2105.htm#i1592091
Run this:
to get list of tables.
and Run this:
to get the count of tables.