IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HBSS_PCECYCLEENTRY' AND KSQL_COL_NAME ='FPERIODFLAG') 
ALTER TABLE T_HBSS_PCECYCLEENTRY ADD (FPERIODFLAG VARCHAR(5) DEFAULT ' ' NOT NULL );