Count number of tables in Oracle
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:
SELECT TABLE_NAME FROM DBA_TABLES;
to get list of tables.
and Run this:
SELECT Count(*) FROM DBA_TABLES;
to get the count of tables.