Files
ctg-app-cap/cap/sql/update_cmmtufit_20140918.sql
2021-01-12 23:30:48 +08:00

62 lines
3.8 KiB
SQL

--天津银行
update cmmtufit set bnk_typ= substr(bnk_typ,1,length(bnk_typ)-3)||'A07' where bnk_typ='0434';
--东莞银行
update cmmtufit set bnk_typ= substr(bnk_typ,1,length(bnk_typ)-3)||'C04' where bnk_typ='0425';
--广州农村商业银行
update cmmtufit set bnk_typ= substr(bnk_typ,1,length(bnk_typ)-3)||'Y99' where bnk_typ in ('6505','1405');
--佛山顺德农村商业银行
update cmmtufit set bnk_typ= substr(bnk_typ,1,length(bnk_typ)-3)||'Y64' where bnk_typ in ('6508','1408');
--天津农村合作银行
update cmmtufit set bnk_typ= substr(bnk_typ,1,length(bnk_typ)-3)||'Y97' where bnk_typ in ('6519','1419');
--北京农村商业银行
update cmmtufit set bnk_typ= substr(bnk_typ,1,length(bnk_typ)-3)||'Y96' where bnk_typ='1418';
--深圳农村商业银行
update cmmtufit set bnk_typ= substr(bnk_typ,1,length(bnk_typ)-3)||'Y95' where bnk_typ='1404';
--东莞农村商业银行
update cmmtufit set bnk_typ= substr(bnk_typ,1,length(bnk_typ)-3)||'Y94' where bnk_typ='1415';
--中国邮政储蓄银行
update cmmtufit set bnk_typ= substr(bnk_typ,1,length(bnk_typ)-3)||'999' where bnk_typ in ('0100','6100');
--新韩银行
update cmmtufit set bnk_typ= substr(bnk_typ,1,length(bnk_typ)-3)||'595' where bnk_typ='0328';
--韩亚银行
update cmmtufit set bnk_typ= substr(bnk_typ,1,length(bnk_typ)-3)||'597' where bnk_typ='0329';
--锦州银行
update cmmtufit set bnk_typ= substr(bnk_typ,1,length(bnk_typ)-3)||'A47' where bnk_typ in ('6439','0439');
--大连银行
update cmmtufit set bnk_typ= substr(bnk_typ,1,length(bnk_typ)-3)||'A42' where bnk_typ='0420';
--鞍山市商业银行
update cmmtufit set bnk_typ= substr(bnk_typ,1,length(bnk_typ)-3)||'Y93' where bnk_typ='0456';
--葫芦岛银行
update cmmtufit set bnk_typ= substr(bnk_typ,1,length(bnk_typ)-3)||'D22' where bnk_typ='0433';
--青岛银行
update cmmtufit set bnk_typ= substr(bnk_typ,1,length(bnk_typ)-3)||'B22' where bnk_typ='6450';
--齐商银行
update cmmtufit set bnk_typ= substr(bnk_typ,1,length(bnk_typ)-3)||'B23' where bnk_typ in ('6438','0438');
--济宁银行
update cmmtufit set bnk_typ= substr(bnk_typ,1,length(bnk_typ)-3)||'B28' where bnk_typ='0537';
--泰安市商业银行
update cmmtufit set bnk_typ= substr(bnk_typ,1,length(bnk_typ)-3)||'B29' where bnk_typ='0528';
--临商银行
update cmmtufit set bnk_typ= substr(bnk_typ,1,length(bnk_typ)-3)||'B34' where bnk_typ='6431';
--东营市商业银行
update cmmtufit set bnk_typ= substr(bnk_typ,1,length(bnk_typ)-3)||'Y92' where bnk_typ in ('6527','0527');
--威海市商业银行
update cmmtufit set bnk_typ= substr(bnk_typ,1,length(bnk_typ)-3)||'Y91' where bnk_typ='6481';
--日照银行
update cmmtufit set bnk_typ= substr(bnk_typ,1,length(bnk_typ)-3)||'D21' where bnk_typ='6455';
--莱商银行
update cmmtufit set bnk_typ= substr(bnk_typ,1,length(bnk_typ)-3)||'D23' where bnk_typ='0497';
--安徽省农村信用联社
update cmmtufit set bnk_typ= substr(bnk_typ,1,length(bnk_typ)-3)||'Y90' where bnk_typ in ('6547','1447');
--长沙银行
update cmmtufit set bnk_typ= substr(bnk_typ,1,length(bnk_typ)-3)||'B65' where bnk_typ='0461';
--南昌银行
update cmmtufit set bnk_typ= substr(bnk_typ,1,length(bnk_typ)-3)||'B10' where bnk_typ in ('6448','0448');
--上饶银行
update cmmtufit set bnk_typ= substr(bnk_typ,1,length(bnk_typ)-3)||'B18' where bnk_typ='6526';
--广西北部湾银行
update cmmtufit set bnk_typ= substr(bnk_typ,1,length(bnk_typ)-3)||'C06' where bnk_typ='6478';
--上海农村商业银行
update cmmtufit set bnk_typ= substr(bnk_typ,1,length(bnk_typ)-3)||'Y89' where bnk_typ='6501';
--浦发银行
update cmmtufit set bnk_typ= substr(bnk_typ,1,length(bnk_typ)-3)||'310' where bnk_typ in ('0310','6310');