/**Begin D:\PDM_UPGRADE\PDM1\FPM_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_FPM_TEMPLATE_SUBJECT' AND KSQL_COL_NAME IN ('FHIDEINREPORT'))
ALTER TABLE T_FPM_TEMPLATE_SUBJECT ADD (FHIDEINREPORT CHAR(1) DEFAULT '0' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_FPM_TEMPLATEBAK_SUBJECT' AND KSQL_COL_NAME IN ('FHIDEINREPORT'))
ALTER TABLE T_FPM_TEMPLATEBAK_SUBJECT ADD (FHIDEINREPORT CHAR(1) DEFAULT '0' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_FPM_MEMBER_E' AND KSQL_COL_NAME IN ('FPLANAMTAUTO'))
ALTER TABLE T_FPM_MEMBER_E ADD (FPLANAMTAUTO CHAR(1) DEFAULT '1' NOT NULL );

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