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

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