我的更新和插入语句上的SQL语法错误

问题描述

| 我写了简单的更新/插入语句,这些语句返回语法错误,我缺少什么?表名称是注释,字段注释是备忘录类型,大写字母是双精度型。
update notes set note=\'why is there a syntax error\' where acaps=12345
我的插入语句上的语法错误也是如此:
insert into notes (acaps,note,updated,userId) values (12345,\'Why is there a syntax error\',#6/13/2011 5:07:35 PM#,\'BRSANDE\')
    

解决方法

        您正在尝试使用保留字:Access 2002和更高版本的Access中的保留字列表
update [notes]
set [note] = \'why is there a syntax error\' 
where [acaps] = 12345


insert into [notes] ([acaps],[note],[updated],[userId]) 
values (12345,\'Why is there a syntax error\',#6/13/2011 5:07:35 PM#,\'BRSANDE\')
    

相关问答

依赖报错 idea导入项目后依赖报错,解决方案:https://blog....
错误1:代码生成器依赖和mybatis依赖冲突 启动项目时报错如下...
错误1:gradle项目控制台输出为乱码 # 解决方案:https://bl...
错误还原:在查询的过程中,传入的workType为0时,该条件不起...
报错如下,gcc版本太低 ^ server.c:5346:31: 错误:‘struct...