merge 可以做到如果key相同,就update/DELETE 如果key相同+ 條件( and field<>field),就update/DELETE 如果key不存在,就insert. MERGE INTO #tmp1 --要 ...
確定! 回上一頁