How To List the Tables in an Oracle Database?

Displaying the list of tables present in an Oracle database is quite easy to do.

If you’d like to do so but aren’t sure how, look no further than this tutorial. See below for the necessary steps.

Display the List of Tables in an Oracle Database

The command that you should use to list the tables in an Oracle database depends on what information you’re looking to isolate.
To list all the tables related the current user, enter

SELECT table_name FROM user_tables;

.

To list the tables accessible by the user, key in

SELECT table_name FROM all_tables;

.

To list all of the tables (ADMIN), enter

SELECT table_name FROM dba_tables;

.

GpHow
Logo
Compare items
  • Total (0)
Compare
0