/**Begin D:\software\PDM_UPGRADE\PDM1\FPM_table.sql **/

IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_FPM_MEMBER_E' AND KSQL_COL_NAME IN ('FENABLEDATE'))
 ALTER TABLE T_FPM_MEMBER_E ADD (FENABLEDATE DATETIME );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_FPM_MEMBER_E' AND KSQL_COL_NAME IN ('FDISABLEDATE'))
 ALTER TABLE T_FPM_MEMBER_E ADD (FDISABLEDATE DATETIME );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_FPM_TEMPLATEINFO' AND KSQL_COL_NAME IN ('FEFFECTIVEDATE'))
 ALTER TABLE T_FPM_TEMPLATEINFO ADD (FEFFECTIVEDATE DATETIME );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_FPM_TEMPLATEINFO_BAK' AND KSQL_COL_NAME IN ('FEFFECTIVEDATE'))
 ALTER TABLE T_FPM_TEMPLATEINFO_BAK ADD (FEFFECTIVEDATE DATETIME );

/**End D:\software\PDM_UPGRADE\PDM1\FPM_table.sql **/
