Understanding the MERGE DML Statement in SQL Server 2008

  • dhaneenja-755935

    SSC Veteran

    Points: 219

    Comments posted to this topic are about the item Understanding the MERGE DML Statement in SQL Server 2008

    Tharindu Dhaneenja.
    MCTS,MCITP(SQL Server),OCA(Oracle)
    http://www.databaseusergroup.com

  • Linson.Daniel

    Ten Centuries

    Points: 1153

    Well written...

    Although I do have a point to add on just for the sake of it.....Its concerning the limitation of the Merge Command.

    "The merge command could be used only on those tables which do not have duplicate records."

    Actually this point is more of a reminder to all those creating tables to have a primary key to them. The way I look at it, once you keep in check that your database is atleast in the 1NF, then the Merge can be used and the above mentioned limitation would never be a concern 😀

  • dhaneenja-755935

    SSC Veteran

    Points: 219

    Hi Linson.Daniel,

    Thanks for send comments for my article yes you are correct. I mention this for limitation because give idea to "doesn’t apply duplicate data to MERGE DML”

    Tharindu Dhaneenja.
    MCTS,MCITP(SQL Server),OCA(Oracle)
    http://www.databaseusergroup.com

  • Anipaul

    SSC-Insane

    Points: 24681

    Well written and good article...:)

  • Susantha Bathige

    Ten Centuries

    Points: 1040

    Good article to start learn about new features of SQL Server 2008.

    Susantha

  • dhaneenja-755935

    SSC Veteran

    Points: 219

    Hi All,

    hope this will help you,

    Link.

    Thanks

    Tharindu

    Tharindu Dhaneenja.
    MCTS,MCITP(SQL Server),OCA(Oracle)
    http://www.databaseusergroup.com

Viewing 6 posts - 1 through 6 (of 6 total)

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