IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_SRM_COMPQOSAPTITUDE' AND KSQL_COL_NAME IN ('FTYPE')) 
 ALTER TABLE T_SRM_COMPQOSAPTITUDE ADD (FTYPE VARCHAR(10) DEFAULT ' ' NOT NULL );