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

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

pgsql-novice by date

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

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