Find the number of tables in Oracle database

Query below lists:

(A) number of all tables accessible to the current user in Oracle database

(B) number of all tables in Oracle database

Query was executed under the Oracle9i Database version.

Query

A. Tables accessible to the current user

select count(*) as table_count
from sys.all_tables;

B. If you have privilege on dba_tables

select count(*) as table_count
from sys.dba_tables;

Columns

  • table_count - number of tables in database

Rows

Query returns one row

Sample results

Comments are only visible when the visitor has consented to statistics cookies. To see and add comments please accept statistics cookies.
0
There are no comments. Click here to write the first comment.