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: Getting column headers

Re: Getting column headers

From: Andrew Velichko <andrew_velichko_at_yahoo.com>
Date: Tue, 28 Nov 2000 16:02:06 -0500
Message-ID: <N3VU5.73225$Z2.988188@nnrp1.uunet.ca>

Hi Esther!

  1. desc table_name;
  2. select * from user_tab_columns where table_name='table_name';

Andrew Velichko
Brainbench MVP for Oracle Developer 2000 http://www.brainbench.com


"Esther Strom" <esthermstrom_at_my-deja.com> wrote in message news:900u1i$609$1_at_nnrp1.deja.com...
> Forgive this basic question...
>
> I'm trying to find the SQL command that returns just column headers. I
> know I can do it using SELECT * from tableName where 1=2, or some such,
> but I also know there's a command. I just can't remember what it is.
>
> Thanks,
>
> Esther
>
> --
> Esther Strom
> emstrom_at_interaccess.com
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
Received on Tue Nov 28 2000 - 15:02:06 CST

Original text of this message

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