• Yes I am trying to insert rows which does not exists and update rows if already exists...

    Can you please convert my posted query into the solution that you are suggesting so that I am clear with that and can implement here...

    _______________________________________________________________
    To get quick answer follow this link:
    http://www.sqlservercentral.com/articles/Best+Practices/61537/