Skip site navigation (1) Skip section navigation (2)

Finding column using SQL query.

From: "Rajan Bhide" <rbhide(at)starentnetworks(dot)com>
To: <pgsql-novice(at)postgresql(dot)org>
Cc: "Santosh Bhujbal" <sbhujbal(at)starentnetworks(dot)com>,"Sachin Ahire" <sahire(at)starentnetworks(dot)com>
Subject: Finding column using SQL query.
Date: 2005-02-09 09:56:20
Message-ID: FF851C7EEB75954F9BCFB5CA117AB1EC013FE34B@delta.nulinkinc.com (view raw or flat)
Thread:
Lists: pgsql-novice
Hi,

Is there any way to find whether a particular column exists in the table
or not based on the column name using sql query?
I have a requirement where I need to find whether a column exists in the
table or not using SQL query.

Thanks,
Rajan

pgsql-novice by date

Next:From: emailDate: 2005-02-09 10:08:01
Subject: Re: Finding column using SQL query.
Previous:From: Michael FuhrDate: 2005-02-09 07:40:17
Subject: Re: Text type versus Varchar(n)

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group