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

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