IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_RIM_INVOICE_UNCHECK' AND KSQL_COL_NAME ='FINVOICE_DETAIL')
 ALTER TABLE T_RIM_INVOICE_UNCHECK ADD (FINVOICE_DETAIL NVARCHAR(255) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_RIM_INVOICE_UNCHECK' AND KSQL_COL_NAME ='FINVOICE_DETAIL_TAG')
 ALTER TABLE T_RIM_INVOICE_UNCHECK ADD (FINVOICE_DETAIL_TAG NCLOB );