 IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_IFM_INTCALCWAYSETTING' AND KSQL_COL_NAME IN ('FINTCALCWAY')) 
 ALTER TABLE T_IFM_INTCALCWAYSETTING ADD (FINTCALCWAY NVARCHAR(30) DEFAULT ' ' NOT NULL );