是ACCESS表 我是想把JYJL表中日期为03-1-17 AND JH="03"(限定条件)该为03-1-20 共有6000多条记录
update jyjl set rq = ' 03-1-20 ' where jh='03' and rq = # 03-1-17 #
Access: update jyjl set rq = #03-1-20# where jh='03' and rq = #03-1-17# ;SQL server: update jyjl set rq = '03-1-20 ' where jh='03' and rq = '03-1-17';
若为update jyjl set rq = #03-1-20# where jh='03' and rq = #03-1-17# 则提示:正准备删除0条记录 若为update jyjl set rq = '03-1-20' where jh='03' and rq = '03-1-17' 则提示:标准表达式中类型不匹配我要在ACCESS 库中的查询对象中进行操作
先用以下语句查一下,看有几条记录,说不定是条件有问题 select * from jyjl where jh='03' and rq = #03-1-17#
我是想把JYJL表中日期为03-1-17 AND JH="03"(限定条件)该为03-1-20
共有6000多条记录
update jyjl set rq = #03-1-20# where jh='03' and rq = #03-1-17# ;SQL server:
update jyjl set rq = '03-1-20 ' where jh='03' and rq = '03-1-17';
则提示:正准备删除0条记录
若为update jyjl set rq = '03-1-20' where jh='03' and rq = '03-1-17'
则提示:标准表达式中类型不匹配我要在ACCESS 库中的查询对象中进行操作
select * from jyjl where jh='03' and rq = #03-1-17#
即rq 这个字段是“yy-mm-dd hh:mm:ss”的格式
结贴。