How To List the Tables in an Oracle Database

April 2018

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;
.

Image: © Deymos.HR - Shutterstock.com
Published by aakai1056. Latest update on November 22, 2017 at 05:50 PM by owilson.
This document, titled "How To List the Tables in an Oracle Database," is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (https://ccm.net/).
Automatic backup of a database in SQL EXPRESS 2005
Equivalent of DATEDIFF function of the SQL Server under Oracle.