IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_FPM_TPL_METRIC' AND KSQL_COL_NAME IN ('FDFFILTER'))
 ALTER TABLE T_FPM_TPL_METRIC ADD (FDFFILTER CHAR(1) DEFAULT '0' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_FPM_TPLBAK_METRIC' AND KSQL_COL_NAME IN ('FDFFILTER'))
 ALTER TABLE T_FPM_TPLBAK_METRIC ADD (FDFFILTER CHAR(1) DEFAULT '0' NOT NULL );
