Re: Table description

From: "Livia Santos" <liviasilvasantos(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Table description
Date: 2007-08-20 16:40:21
Message-ID: 9c1d10990708200940u3f40ac27sfd1f9af6088df714@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Thanks a lot, guys.

\d <table_name> is exactly what I needed!

On 8/20/07, Robert Gravsjö <robert(at)blogg(dot)se> wrote:
>
> Livia Santos wrote:
> > Hi.
> >
> > Is there any command that describe a table, such as desc table_name as
> > in Oracle?
>
> Not sure how desc table_name works in Oracle, but from psql you can use:
> \dt table_name
>
> Issue \? in psql for more information.
>
> Regards,
> roppert
>
> >
> > Thanks in advance.
> >
> > --
> > Lívia Silva Santos
> >
>
>
>

--
Lívia Silva Santos
Unicamp/Ceset TI02

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Michael Glaesemann 2007-08-20 16:43:03 Re: Stripping apostrophes from data
Previous Message Martijn van Oosterhout 2007-08-20 16:35:49 Re: Stripping apostrophes from data