/** 添加通用语音字段：FNAME **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BAL_BALANCEINFO' AND KSQL_COL_NAME ='FNAME') 
 ALTER TABLE T_BAL_BALANCEINFO ADD (FNAME NVARCHAR(200) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BAL_UPDATERULEDESIGN' AND KSQL_COL_NAME ='FNAME') 
 ALTER TABLE T_BAL_UPDATERULEDESIGN ADD (FNAME NVARCHAR(200) DEFAULT ' ' NOT NULL );



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