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: Select * and column names

Re: Select * and column names

From: Sybrand Bakker <postbus_at_sybrandb.demon.nl>
Date: 2000/08/03
Message-ID: <965333259.3099.1.pluto.d4ee154e@news.demon.nl>#1/1

select table_name, column_name
from all_tab_columns
order by table_name, column_position

Refer to select * from dict for a description of all the dictionary views.

Hth,

Sybrand Bakker, Oracle DBA

"Talar" <talar_at_deja.com> wrote in message news:mFji5.79720$ou1.422681_at_nlnews00.chello.com...
> Hi,
>
> Unfortunately my knowledge of SQL is a bit limited at the moment.
> Nevertheless I'm in the process of writing an SQL parser that will pass
 the
> query on to an Oracle dbms by means of an external dll.
> Most of the things turn out okay, but i need to get the column names when
 a
> query-string like "select * from foo" is passed.
> A bit like SQL plus is doing if you run the above statement on table Foo.
>
> Does anyone know of a SQL statement to retrieve the column-names?
>
> thanks,
>
> Wil
>
Received on Thu Aug 03 2000 - 00:00:00 CDT

Original text of this message

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