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