Re: [SQL] How to Get Column Names from the Table - Mailing list pgsql-general

From venkat
Subject Re: [SQL] How to Get Column Names from the Table
Date
Msg-id AANLkTim7VCKPDTnk1yYxN6LorKQjzSIyY3j_qTKAjH5a@mail.gmail.com
Whole thread Raw
In response to Re: [SQL] How to Get Column Names from the Table  (Sreelatha G <sreetlatha@gmail.com>)
List pgsql-general
Dear Sreelatha.

  It is working fine. Thanks alot.

Thanks and Regards,

Venkat

On Wed, Jul 7, 2010 at 3:42 PM, Sreelatha G <sreetlatha@gmail.com> wrote:
Hi,
 
To get column names only
 
 select column_name from information_schema.columns where table_name='captor_prime_aggregates';

Thanks
Sreelatha
On Wed, Jul 7, 2010 at 2:44 PM, Viktor Bojović <viktor.bojovic@gmail.com> wrote:
\d tableName


On Wed, Jul 7, 2010 at 11:08 AM, venkat <ven.tammineni@gmail.com> wrote:
Dear All,

   How to get Column Names from Table in PostgreSQL.

Thanks and Regards,

Venkat



--
---------------------------------------
Viktor Bojović
---------------------------------------
Wherever I go, Murphy goes with me


pgsql-general by date:

Previous
From: Sreelatha G
Date:
Subject: Re: [SQL] How to Get Column Names from the Table
Next
From: Luca Ferrari
Date:
Subject: Re: TupleDesc and HeapTuple