Postgresql DROP TABLE doesn't work

前端 未结 7 1259
别跟我提以往
别跟我提以往 2020-12-08 02:43

I\'m trying to drop a few tables with the \"DROP TABLE\" command but for a unknown reason, the program just \"sits\" and doesn\'t delete the table that I want i

7条回答
  •  长情又很酷
    2020-12-08 02:51

    I ran into this today, I was issuing a:

    DROP TABLE TableNameHere

    and getting ERROR: table "tablenamehere" does not exist. I realized that for case-sensitive tables (as was mine), you need to quote the table name:

    DROP TABLE "TableNameHere"

提交回复
热议问题