MERGE INTO

  • Added AND TargTable.ReportMonth = @month

    New Code
    WHEN NOT MATCHED BY SOURCE AND TargTable.ReportMonth = @month
    THEN
    DELETE;

Viewing post 1 (of 2 total)

You must be logged in to reply to this topic. Login to reply