Skip site navigation (1) Skip section navigation (2)

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

From: "Poul L(dot) Christiansen" <poulc(at)cs(dot)auc(dot)dk>
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:40
Message-ID: 3AE986C8.742F6533@cs.auc.dk (view raw or flat)
Thread:
Lists: pgsql-novice
Try "DROP TABLE <tablename>".

Poul L. Christiansen

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??
> 
> 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

pgsql-novice by date

Next:From: Jeff DaughertyDate: 2001-04-27 14:49:55
Subject: Re: How to delete a table in Postgres ???
Previous:From: Lutz SteinbornDate: 2001-04-27 14:48:02
Subject: Re: How to delete a table in Postgres ???

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group