将临时全局表中的符合字段导入test数据库中
--表1 开户级别表
insert into test.dbo.crm_m_cust_summary(CUST_CERT_N O,ASSETAMT_GRADE_CD)select cust_no,cust_Level from ##jibie
--表2 利率表
insert into test.dbo.loanrate_list(ADJUSTDATE,BUSINESSSUBTYPENAME,BUSINESSTYPENAME,TERM,YEARRATE)
select DATE,FLAG13,FLAG14,FLAG5,FLAG8 from ##lilv
--表3 机构表
insert into test.dbo.bol_checkbank(ID,BankName)select flag2,flag5 from ##jigou
drop table ##jibie
drop table ##jigou
drop table ##lilv