Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Query, name of columns
desc <table>
or
select column_name from all_tab_columns where table_name = '<table>'
The table all_tab_columns, when combined with dynamic SQL, can support some very useful analysis scripts/procedures.
Chris Weiss
Professional Services Division
Compuware Corporation
Henrik Otto <ottoh_at_NOSPAM.se> wrote in message
news:37986420.7C62_at_NOSPAM.se...
> How can I get the names of the columns of a table?
>
> Thanks.
>
> /Henrik
Received on Fri Jul 23 1999 - 08:28:12 CDT