/** 余额表手工添加字段 **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BAL_BALANCEINFO' AND KSQL_COL_NAME ='FSNAPSHOTPOLICY') 
 ALTER TABLE T_BAL_BALANCEINFO ADD (FSNAPSHOTPOLICY CHAR(1) DEFAULT 'A' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BAL_BALANCEINFO' AND KSQL_COL_NAME ='FPLUGINCLASS') 
 ALTER TABLE T_BAL_BALANCEINFO ADD (FPLUGINCLASS NCLOB );



/**End E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\IM_table.sql **/
