IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BAS_IMPORTTEMPLATE' AND KSQL_COL_NAME ='FAPPLYLAYOUT')
ALTER TABLE T_BAS_IMPORTTEMPLATE ADD (FAPPLYLAYOUT VARCHAR(255) DEFAULT ' ' NOT NULL );