List of tables in an Oracle database

Solved
Titelle -  
 bernie_liege -
```sql
SELECT table_name FROM user_tables;
```

11 réponses

blux Posted messages 19264 Registration date   Status Modérateur Last intervention   3 451
 
Hi,

List the tables in the current user's schema:

SELECT table_name FROM user_tables;

List the tables accessible by the user:

SELECT table_name FROM all_tables;

List all tables (you need to be ADMIN):

SELECT table_name FROM dba_tables;

Talk to you later, Blux
 "Stupid people dare to do anything. That's even how you recognize them"
97
w8
 
Hello,

I need to list the tables of a user that is not the current user.

Does anyone know the query?

Thank you
0
Francky44
 
Hello,
I also have this need. To clarify, I am connected to a system on an Oracle instance whose owner is, for example, owntyty. I need to see only the tables of owntyty.
Does anyone know the query?
Thank you
0