Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: DESC tableName - need an SQL version...
On Tue, 30 Oct 2001 11:16:52 -0600, Huntress <kaeli96_at_yahoo.com>
wrote:
>I am trying to write a script that lists all field names for my tables.
>The thing is, the script is not SQLPlus, and can't use the DESC command.
>It has to use standard SQL. Can anyone tell me a way to write an SQL
>SELECT statement that will tell me all the field names for a table?
look at tables USER_TAB_COLUMNS, ALL_TAB_COLUMNS Received on Tue Oct 30 2001 - 11:34:44 CST