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

Querying Table Attributes 1

Status
Not open for further replies.

MartinF

Technical User
Sep 19, 2000
143
FR
Hi,

Please can anyone tell me if (and how!) i can write an SQL statement to return a specified tables Field Names, DataType and Size? rather than the actual data it contains.

If this is possible, i will be using TOAD to exectue the statement.

many thanks
Martin
 
select * from all_tab_columns where table_name = 'XXX'
and owner = 'YYY';
 
Thank you! thats exactly what i wanted.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top