/**Begin D:\tools\PDM\pdm_upgrade\pdm1\ER_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_AMOUNTFREED' AND KSQL_COL_NAME IN ('FNEXTMONTHFREE'))
ALTER TABLE T_ER_AMOUNTFREED ADD (FNEXTMONTHFREE CHAR(1) DEFAULT '0' NOT NULL );

/**End  **/
