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

From: Lutz Steinborn <l(dot)steinborn(at)4c-ag(dot)de>
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:48:02
Message-ID: 20010427164802.565eaabd.l.steinborn@4c-ag.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hello Sarwar,

try:
drop <tablename>

Regards
Lutz

On Fri, 27 Apr 2001 12:57:50 +0100
"suhail sarwar" <sarwar(at)postmaster(dot)co(dot)uk> 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??
>
> Regards
>
> Sarwar
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Poul L. Christiansen 2001-04-27 14:48:40 Re: How to delete a table in Postgres ???
Previous Message suhail sarwar 2001-04-27 11:57:50 How to delete a table in Postgres ???