| From: | venkat <ven(dot)tammineni(at)gmail(dot)com> |
|---|---|
| To: | Sreelatha G <sreetlatha(at)gmail(dot)com> |
| Cc: | pgsql-sql(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org |
| Subject: | Re: [SQL] How to Get Column Names from the Table |
| Date: | 2010-07-07 10:14:07 |
| Message-ID: | AANLkTim7VCKPDTnk1yYxN6LorKQjzSIyY3j_qTKAjH5a@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general pgsql-sql |
Dear Sreelatha.
It is working fine. Thanks alot.
Thanks and Regards,
Venkat
On Wed, Jul 7, 2010 at 3:42 PM, Sreelatha G <sreetlatha(at)gmail(dot)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(dot)bojovic(at)gmail(dot)com>wrote:
>
>> \d tableName
>>
>>
>> On Wed, Jul 7, 2010 at 11:08 AM, venkat <ven(dot)tammineni(at)gmail(dot)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
>>
>
>
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Martin Below | 2010-07-07 11:42:59 | optimizer choosing the wrong index |
| Previous Message | Sreelatha G | 2010-07-07 10:12:23 | Re: [SQL] How to Get Column Names from the Table |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Justin Graf | 2010-07-07 14:35:32 | Re: |
| Previous Message | Sreelatha G | 2010-07-07 10:12:23 | Re: [SQL] How to Get Column Names from the Table |