Re: Describe structure.

From: "Poul L(dot) Christiansen" <plc(at)faroenet(dot)fo>
To: anuj <Anuj(at)in-control(dot)de>
Cc: pgsql-general(at)hub(dot)org
Subject: Re: Describe structure.
Date: 2000-07-25 08:42:41
Message-ID: 397D5301.B8B97050@faroenet.fo
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

pg=>\d tblpg will describe the structure.

pg=>\? will give a list of commands, including how to use \d

anuj wrote:

> Hi,
> My table name is tblpg.
> I want to see the table structure.
> Like oracle have Describe <table name>.
> What PG have ? or any command.
> Thank in advance.
> Anuj
>
> pg=> \d
> Database = pg
> +------------------+----------------------------------+----------+
> | Owner | Relation | Type |
> +------------------+----------------------------------+----------+
> | postgres | tblpg | table |
> +------------------+----------------------------------+----------+
>
> pg=> describe tblpg;
> ERROR: parser: parse error at or near "describe"

In response to

Browse pgsql-general by date

  From Date Subject
Next Message anuj 2000-07-25 09:03:13 Describe structure.
Previous Message Steve Heaven 2000-07-25 07:47:57 Re: Statistical Analysis