IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_RIM_EXPENSE_TYPE' AND KSQL_COL_NAME ='FOPERATE_ATTACH_SCANNER')
ALTER TABLE T_RIM_EXPENSE_TYPE ADD (FOPERATE_ATTACH_SCANNER NVARCHAR(10) DEFAULT ' ' NOT NULL );