/**Begin C:\PDM_UPGRADE\PDM1\SRM_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_PUR_ENTERTYPE' AND KSQL_COL_NAME IN ('FAUDITORID')) 
 ALTER TABLE T_PUR_ENTERTYPE ADD (FAUDITORID BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_PUR_ENTERTYPE' AND KSQL_COL_NAME IN ('FAUDITDATE')) 
 ALTER TABLE T_PUR_ENTERTYPE ADD (FAUDITDATE DATETIME );

/**End C:\PDM_UPGRADE\PDM1\SRM_table.sql **/
