Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.tools -> Re: Field Name

Re: Field Name

From: Daniel A. Morgan <dmorgan_at_exesolutions.com>
Date: Fri, 13 Apr 2001 22:30:47 -0700
Message-ID: <3AD7E087.3FD8D014@exesolutions.com>

Two ways. The easiest is using the DESCRIBE command.

DESC tablename

That is it.

To get more information issue the following select statement:

SELECT *
FROM user_tab_columns
WHERE table_name = 'your_table_name_here';

Daniel A. Morgan

imail wrote:

> Can you tell me how to list all the fields of a table in a database?
> I've tried the "select * from" statement, however, some of the field
> have data of just one character. Which means the output comes out
> something like:
>
> M
> --
> Y
>
> and I don't get to see what the field name is.
Received on Sat Apr 14 2001 - 00:30:47 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US