insert into assignhistroy(fname,assignnum,handleby,fcode,objectivetype_id,customertype) select cur_staff,ascount,handleby,cur_rolegroup,objectivetype_id,custlists from TDUMP
insert into assignhistroy(fname,assignnum,handleby,fcode,objectivetype_id,customertype) select cur_staff,ascount,handleby,cur_rolegroup,objectivetype_id,custlists from TDUMP
insert into assignhistroy(fname,assignnum,handleby,fcode,objectivetype_id,customertype) select cur_staff,ascount,handleby,cur_rolegroup,objectivetype_id,custlists from TDUMP
insert into assignhistroy(fname,assignnum,handleby,fcode,objectivetype_id,customertype) select cur_staff,ascount,handleby,cur_rolegroup,objectivetype_id,custlists from TDUMP
insert into assignhistroy(fname,assignnum,handleby,fcode,objectivetype_id,customertype) select cur_staff,ascount,handleby,cur_rolegroup,objectivetype_id,custlists from TDUMP
insert into assignhistroy(fname,assignnum,handleby,fcode,objectivetype_id,customertype) select cur_staff,ascount,handleby,cur_rolegroup,objectivetype_id,custlists from TDUMP
--------- ----------- -------- ------------- ---------------- ------------
27B365 3 447A11 Farmer 559CAC CustList_test0924
2EB508 2 447A11 Farmer 559CAC CustList_comebaby
2EB508 1 447A11 Farmer 559CAC CustList_test0924
320DAA 2 447A11 Farmer 559CAC CustList_comebaby
8BBEFE 1 447A11 Farmer 559CAC CustList_comebaby
8BBEFE 1 447A11 Farmer 559CAC CustList_test0924
insert into assignhistroy(fname,assignnum,handleby,fcode,objectivetype_id,customertype)
select cur_staff,ascount,handleby,cur_rolegroup,objectivetype_id,custlists from TDUMP
select cur_staff,ascount,handleby,cur_rolegroup,objectivetype_id,custlists from TDUMP
select cur_staff,ascount,handleby,cur_rolegroup,objectivetype_id,custlists from TDUMP
select cur_staff,ascount,handleby,cur_rolegroup,objectivetype_id,custlists from TDUMP
select cur_staff,ascount,handleby,cur_rolegroup,objectivetype_id,custlists from TDUMP
select cur_staff,ascount,handleby,cur_rolegroup,objectivetype_id,custlists from TDUMP