--税务信息表注册地址历史数据迁移
UPDATE  T_TCTB_TAX_MAIN SET FBASEREGISTERADDRESS=CAST(FREGISTERADDRESS AS DECIMAL(23,0)) WHERE (FBASEREGISTERADDRESS=0 OR FBASEREGISTERADDRESS IS NULL ) AND (FREGISTERADDRESS!='' AND FREGISTERADDRESS IS NOT NULL);