MERGE statement in SQL

It comes with 3 flavours:

    when matched – update or delete
    when not matched – insert – present in source NOT in target
    when not matched by source – present in target NOT in source, you can then update or delete

efficient than individual insert or delete

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>