开发者

Postgresql Oledb column name quoting

I have:

INSERT INTO XYZ (c1, c开发者_运维知识库2, range) VALUES (?, ?, ?)

OleDb call fails here because of range is a reserved keyword - how to quote it through the OleDB?


Use double quotes ":

INSERT INTO XYZ (c1, c2, "range") VALUES (?, ?, ?)
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜