In a merge statement, when source and target not matched you insert, but when source and target matched and current_flag='Y'. You update the end_date and current_flag='N' but where are we updating the actual value(for the source and target match)? Thanks
in advance.
svk