/**Begin D:\pdm\PDM_UPGRADE\pdm_new\SIM_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_SIM_BILL_LOG' AND KSQL_COL_NAME ='FSYSTEM_CODE') 
 ALTER TABLE T_SIM_BILL_LOG ADD (FSYSTEM_CODE NVARCHAR(50) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_SIM_BILL_LOG' AND KSQL_COL_NAME ='FOPERATE_TYPE') 
 ALTER TABLE T_SIM_BILL_LOG ADD (FOPERATE_TYPE NVARCHAR(10) DEFAULT ' ' NOT NULL );

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