我的SQL插入语法有什么问题?引号还是方括号或...?
Here is my SQL INSERT statement
sSqlInsert = "Insert into GruppoColl Values (12343009,TRUE,'30/06/2022 11:57:35',RD,Descrizione,TRONCHETTI_RAME_12.IPT,20050082,'Tipo B','Bombato', 0,Oransen,“在”)“
这是错误消息:
Hresult = 0x80040E10 消息=一个或多个必需参数的值。
我知道“ in”是一个保留的单词,“ tipo b”有空间,所以我把它们放在单个引号中。
这是访问中表的定义:
Here is my SQL INSERT statement
sSqlInsert = "Insert into GruppoColl Values (12343009,TRUE,'30/06/2022 11:57:35',RD,Descrizione,TRONCHETTI_RAME_12.IPT,20050082,'Tipo B','Bombato',0,oransen,'In')"
Here is the error message:
HResult=0x80040E10
Message=No value given for one or more required parameters.
I know 'In' is a reserved word and that 'Tipo B' has spaces so I've put them in single quotes.
Here is the definition of the table in Access:
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论