我收到错误:
(消息 102,级别 15,状态 1,第 1 行“I”附近的语法不正确。)执行 SQL 查询时。
如果我在任何地方错了,请告诉我。
UPDATE tbl_Item I
LEFT JOIN tbl_Batch B ON I.Batchuid = B.Batchuid
LEFT JOIN tbl_ICLExtCashLetter C ON B.ICLExtCashLetterUID = C.ICLExtCashLetteruid
LEFT JOIN tbl_ICLExtFile F ON F.ICLExtFIleUId = C.ICLExtFileUId
Set MarkICLDone = 0
WHERE F.FileName = @FileName
- tbl_ICLExtFile (PK) = Tbl_ICLExtCashletter (FK) 与 ID
- tbl_ICLExtCashletter (PK) = tbl_Batch (FK) 带 ID
- tbl_Batch (PK) = tbl_Item(FK) 与 ID