开发者

Postgresql Oledb column name quoting

开发者 https://www.devze.com 2023-01-24 19:38 出处:网络
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 \":

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

精彩评论

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