Thread: RV: How to delete a table in Postgres ???

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

From
Ramiro Arenas Ramírez
Date:
Try DROP TABLE <tablename>


-----Mensaje original-----
De: pgsql-novice-owner@postgresql.org
[mailto:pgsql-novice-owner@postgresql.org]En nombre de suhail sarwar
Enviado el: viernes, 27 de abril de 2001 06:58
Para: pgsql-novice@postgresql.org
Asunto: [NOVICE] How to delete a table in Postgres ???


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

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

From
Johan Daine
Date:
I meant
    DROP TABLE <table name> ;

of course
Ramiro Arenas Ramírez a écrit :
>
> Try DROP TABLE <tablename>
>
> -----Mensaje original-----
> De: pgsql-novice-owner@postgresql.org
> [mailto:pgsql-novice-owner@postgresql.org]En nombre de suhail sarwar
> Enviado el: viernes, 27 de abril de 2001 06:58
> Para: pgsql-novice@postgresql.org
> Asunto: [NOVICE] How to delete a table in Postgres ???
>
> 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
>
> ---------------------------(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