我试图在更新查询上加上一个 with(NOLOCK) :
UPDATE pth_patchLookup with(nolock) SET ScanDateTime = Getdate() WHERE RegID = 312
但我收到以下消息:
NoLock hint is supported only with Select statement and not with update, insert and delete.
有什么方法可以在此更新查询上应用“NOLOCK”吗?
谢谢你的帮助