【发布时间】:2020-11-12 19:36:14
【问题描述】:
我正在尝试通过以下语法在 postgresql 11.6 上运行更新命令
update "YP_SUPPLIERS" set "YP_SUPPLIERS.supplierName" = "update" where "YP_SUPPLIERS.supplierID" = da68e9d0-1100-43e2-0011-db8fbe654321;
我收到以下错误
ERROR: column "YP_SUPPLIERS.supplierID" does not exist
第 1 行:...设置 "YP_SUPPLIERS.supplierName" = "update" where "YP_SUPPLI...
只给出列名,删除引号,但似乎没有任何效果。
谁能给我一个正确的方法。
【问题讨论】:
-
你真的应该避免那些可怕的引用标识符。他们的麻烦比他们的价值要多得多。 wiki.postgresql.org/wiki/…
标签: postgresql postgresql-11 quoted-identifier string-constant