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

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 (view raw or flat)
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

pgsql-novice by date

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

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