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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NEWBIE Question

Status
Not open for further replies.

skapsak

Technical User
Apr 3, 2000
10
US
If I know the table names in an Oracle database is there a way I can find out the field names and data types without having to go to the data model?
 
Run the following:<br><br>desc [your table name]<br><br><br>Cal
 
You can also info with the following query:<br><FONT FACE=monospace>select * from all_tab_columns<br>where&nbsp;&nbsp;owner = '&table_owner'<br>and&nbsp;&nbsp;&nbsp;&nbsp;table_name = '&table_name';</font>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top