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

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

From: Jeff Daugherty <jdaugherty(at)greatbridge(dot)com>
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:49:55
Message-ID: 3AE98713.1050801@greatbridge.com (view raw or flat)
Thread:
Lists: pgsql-novice
In accordance with SQL92:
drop table <tablename>;

jeff

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: Joel BurtonDate: 2001-04-27 14:52:50
Subject: Re: How to delete a table in Postgres ???
Previous:From: Poul L. ChristiansenDate: 2001-04-27 14:48:40
Subject: Re: How to delete a table in Postgres ???

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