Re: How to delete a table in Postgres ???

From: Joel Burton <jburton(at)scw(dot)org>
To: suhail sarwar <sarwar(at)postmaster(dot)co(dot)uk>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: How to delete a table in Postgres ???
Date: 2001-04-27 14:52:50
Message-ID: Pine.LNX.4.21.0104271052140.17913-100000@olympus.scw.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Fri, 27 Apr 2001, suhail sarwar wrote:

> Does anyone know how to delete a table in postgresql???
>
> I have tried all the usual commands like:
> delete <tablename>;
> del <tablename>;
> del table <tablename>;
> delete table <tablename>;
>
> Can anyone help??

\h in psql shows "DROP TABLE xxx".

Please read the FAQs, or at least the man page for psql.

--
Joel Burton <jburton(at)scw(dot)org>
Director of Information Systems, Support Center of Washington

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Joel Burton 2001-04-27 15:00:45 Re: plpgsql locate provider by zip code
Previous Message Jeff Daugherty 2001-04-27 14:49:55 Re: How to delete a table in Postgres ???