Update PSSFAAssets
Set PSSFAAssets.ProjectID = xhh_quickscan.ProjectID,
PSSFAAssets.CpnyAssetNo = xhh_quickscan.Barcode,
PSSFAAssets.CustomDate01 = xhh_quickscan.Date1,
PSSFAAssets.CustomDate02 = xhh_quickscan.Date2,
PSSFAAssets.CustomDate03 = xhh_quickscan.Date3,
PSSFAAssets.CustomDate00 = xhh_quickscan.Date4,
PSSFAAssets.SerialNo = xhh_quickscan.Serial,
PSSFAAssets.Custom10Char02 = xhh_quickscan.AStatus,
PSSFAAssets.CustomDate04 = xhh_quickscan.Scandate
From
(select * from xhh_quickscan
where crtdate > '8/17/2013 7:55 AM'
and crtdate <= '8/18/2013 2:37 PM')
ON PSSFAAssets.AssetID = xhh_quickscan.AssetID
抛出错误:“关键字'ON'附近的语法不正确。”
为“ON”尝试了子“WHERE”;没运气。