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

From: Johan Daine <isis(at)wanadoo(dot)be>
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 15:26:53
Message-ID: 3AE98FBD.8CA4F599@wanadoo.be
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Johan Daine 2001-04-27 15:33:42 Re: RV: How to delete a table in Postgres ???
Previous Message Brett W. McCoy 2001-04-27 15:23:14 Re: How to delete a table in Postgres ???