Merge Guidelines

Hi,

I have been asked to write up guidelines that spell out in a deatailed manner the process for merging duplicate records. We currently have four Tessitura users who are allowed to merge and we are looking  at expanding the numbers of users so as to take care of a large number of duplicate records.

Does anyone have a documentthat spells out the basics of what to look for when merging that they are willing to share?

If you want to share, you can send directly to me at jhouser@omahaperformingarts.org   or just post here.

Thanks, Jacob Houser

Parents Reply Children
  • Former Member
    Former Member $organization in reply to Sarah Parker

    To save you a few minutes coding - this is a bit of script that we've used to identify orphaned tix hist rows (when we had a problem with our merge script) and re-attach them to their new merged identity.

    Should work for anyone, assuming their Merged-id attribute keyword_no is still 6.

    Ken

    -----------------------------------------
    -- script to identify unmerged  rows in LT_tkt_HIST
    select distinct c.customer_no keep_id, a.customer_no delete_id
    into #temp
    from lt_tkt_hist a
    join t_customer b on a.customer_no = b.customer_no
    join (select customer_no, key_value , create_dt
       from tx_cust_keyword
       where keyword_no = 6) c -- kw 6 should be Merged_id
      on c.key_value = a.customer_no
    where b.inactive =5

    -- select * from #temp

    --drop table #temp

    /* this bit does the fix, so it's commented out until i want to do it.  */
    /* update lt_tkt_hist
    set customer_no =  b.keep_id
    from lt_tkt_hist a
    join #temp b on a.customer_no = b.delete_id
    -- select * from lt_tkt_hist
    where customer_no in (select delete_id from #temp) */
    /* select * from t_customer where customer_no in (select delete_id from #temp)
    order by customer_no */

    ----------------------------------