select count(*) from SIEBEL.S_LOY_TXN where txn_num like 'PAC%';
select count(*) from siebel.eim_loy_txn where if_row_batch_num between 6001 and 7000;

select count(*) from siebel.s_loy_acrl_itm where item_num like 'PAC%';
select count(*) from siebel.eim_loy_acrlit where if_row_batch_num between 6001 and 7000;

select count(*) from siebel.s_note_con where note_type = 'Archiving';
select count(*) from siebel.eim_con_dtl where if_row_batch_num between 6001 and 7000;
select count(*) from siebel.eim_con_dtl where if_row_batch_num between 7001 and 8000;
select count(*) from siebel.eim_con_dtl;