Skip to content
Advertisement

How do I list all tables in a schema in Oracle SQL?

How do i list all tables in a schema in Oracle SQL?

Advertisement

Answer

To see all tables in another schema, you need to have one or more of the following system privileges:

or the big-hammer, the DBA role.

With any of those, you can select:

Without those system privileges, you can only see tables you have been granted some level of access to, whether directly or through a role.

Lastly, you can always query the data dictionary for your own tables, as your rights to your tables cannot be revoked (as of 10g):

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement