IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_RIM_INV_AIR_ELE' AND KSQL_COL_NAME ='FINVOICE_STATUS')
 ALTER TABLE T_RIM_INV_AIR_ELE ADD (FINVOICE_STATUS NVARCHAR(4) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_RIM_INV_TRAIN_ELE' AND KSQL_COL_NAME ='FINVOICE_STATUS')
 ALTER TABLE T_RIM_INV_TRAIN_ELE ADD (FINVOICE_STATUS NVARCHAR(4) DEFAULT ' ' NOT NULL );