Forum Replies Created

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

  • Reply To: Merge rows in SQL

    If you delete first you will lose the data, we need to first update and then delete

  • Reply To: Merge rows in SQL

     Note that the third row in the insert statement is for id 102, but the image shows 101

    you are correct, I have edited it to correct and make it 101

  • Reply To: Merge rows in SQL

    Termed out means making isActive =0, which is no longer active, I am trying something like below, which not yet complete, requires cleaning and fixes

     

    PROCEDURE merge_by_id (@id_from...

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