[postgis-users] PSQL command to drop table from a databae

Shreerang Patwardhan patwardhan.shreerang at gmail.com
Sat Mar 27 21:11:06 PDT 2010


Hey all,
  I am trying the following command to drop a table from a postgresql
database. It gives an error. Can anyone please rectify the command if it is
wrong?

*Command:*
psql -h localhost -p 5433 -U postgres -d testdb -c DROP TABLE
11001_district_of_columbia_arealm

*Error Message:*
psql: warning: extra command-line argument "TABLE" ignored
psql: warning: extra command-line argument
"11001_district_of_columbia_arealm" ignored
ERROR:  syntax error at end of input
LINE 1: DROP
                       ^


Please help!
Thanx,
Shreerang Patwardhan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20100328/4d750137/attachment.html>


More information about the postgis-users mailing list