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'附近語法不正確。
嘗試子「WHERE」爲「ON」;沒有運氣。從選擇錯誤Sql更新