Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to list all tables and types

Status
Not open for further replies.

iuanee

Programmer
Jun 13, 2003
26
0
0
US
hi, do u guys know how to list all tables and types created in the oracle9i? thanks,

iuanee
 
Not sure what's required but:

select table_name, owner
from dba_tables

will give you all tables and owners (assuming you have dba privileges when running it).

If by types you mean columns, desc <table_name> willl give you the columns in a table.
 
Hi

you can use the below tables to query the columns

user_tab_columns(tables owner by you)
all_tab_columns ( for tables granted to you)


khobar
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top