IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_WARN_MONITOR_DETAILLOG' AND KSQL_COL_NAME ='FLOGFORMAT') 
 ALTER TABLE T_WARN_MONITOR_DETAILLOG ADD (FLOGFORMAT CHAR(1) DEFAULT '1' NOT NULL );
