/**Begin D:\pdm\PDM_UPGRADE\pdm_new\SIM_table.sql **/
 EXEC p_AlterColumn 'T_SIM_BILL_LOG', 'FBILLNO', 'NVARCHAR(300)', 'NOT NULL', '0100', ''' ''';

IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_SIM_FRONT_SYSTEM_CFG' AND KSQL_COL_NAME ='FAPIID') 
 ALTER TABLE T_SIM_FRONT_SYSTEM_CFG ADD (FAPIID NVARCHAR(50) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_SIM_FRONT_SYSTEM_CFG' AND KSQL_COL_NAME ='FCOMPRESSION') 
 ALTER TABLE T_SIM_FRONT_SYSTEM_CFG ADD (FCOMPRESSION NVARCHAR(10) DEFAULT ' ' NOT NULL );

/**End D:\pdm\PDM_UPGRADE\pdm_new\SIM_table.sql **/
