我意识到Access SQL没有LIMIT指令,所以我尝试了这个:
UPDATE Master SET [Allocated To] = "Jessica"
WHERE [Case] IN (SELECT TOP 3 [Case] FROM Master WHERE [Created on] = "04/01/2017" AND Status IS NULL ORDER BY [Case])
这给我一个错误"标准表达式中的数据类型不匹配"但数据看起来还不错。
即:
"分配到"是文字
"案例"是主键和数字
"创建于"是日期/时间