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

Johan Daine <isis@wanadoo.be>

From: Johan Daine <isis@wanadoo.be>
To: suhail sarwar <sarwar@postmaster.co.uk>
Cc: pgsql-novice@postgresql.org
Date: 2001-04-27T15:26:53Z
Lists: pgsql-novice
You should use 
	drop <tablename> ; 
instead
Johan Daine
suhail sarwar a écrit :
> 
> 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@postgresql.org so that your
> message can get through to the mailing list cleanly