Re: query on table name to return columns and data types?

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: blackwater dev <blackwaterdev(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: query on table name to return columns and data types?
Date: 2006-12-15 17:42:20
Message-ID: 1166204540.18226.68.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, 2006-12-15 at 12:26 -0500, blackwater dev wrote:
> How can I run a query based on a table name and get the column names
> and data types returned?

Usually your language API will give you what you need for that.

Sincerely,

Joshua D. Drake

>
> Thanks!
--

=== The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive PostgreSQL solutions since 1997
http://www.commandprompt.com/

Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Erik Jones 2006-12-15 18:11:31 Re: query on table name to return columns and data types?
Previous Message blackwater dev 2006-12-15 17:26:10 query on table name to return columns and data types?