What object do you query against to select all the table names in a schema in Oracle?
views:
833answers:
3
A:
You may use,
select tabname from tabs
to get the name of tables present in schema.
jatanp
2008-09-09 05:49:07
isn't that sqlserver?
Tony BenBrahim
2008-09-09 06:54:21
tabs is deprecated in Oracle, and it's tabs.table_name
WW
2008-10-29 06:56:12
+5
A:
To see all the tables you have access to
select table_name from all_tables where owner='<SCHEMA>';
To select all tables for the current logged in schema (eg, your tables)
select table_name from user_tables;
Matthew Watson
2008-09-09 06:16:42