/**Begin D:\PDM_UPGRADE\PDM1\FPM_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_FPM_SUMMARYCONFIG' AND KSQL_COL_NAME IN ('FALLOWSUBMIT'))
ALTER TABLE T_FPM_SUMMARYCONFIG ADD (FALLOWSUBMIT CHAR(1) DEFAULT '1' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_FPM_SUMMARYCONFIG_SNP' AND KSQL_COL_NAME IN ('FALLOWSUBMIT'))
ALTER TABLE T_FPM_SUMMARYCONFIG_SNP ADD (FALLOWSUBMIT CHAR(1) DEFAULT '1' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_FPM_REPORT' AND KSQL_COL_NAME IN ('FZEROREPORT'))
ALTER TABLE T_FPM_REPORT ADD (FZEROREPORT CHAR(1) DEFAULT '0' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_FPM_REPORT_BAK' AND KSQL_COL_NAME IN ('FZEROREPORT'))
ALTER TABLE T_FPM_REPORT_BAK ADD (FZEROREPORT CHAR(1) DEFAULT '0' NOT NULL );

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