IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BEI_TRANSDETAIL' AND KSQL_COL_NAME IN ('FBANKDETAILNO'))
ALTER TABLE T_BEI_TRANSDETAIL ADD (FBANKDETAILNO VARCHAR(128) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BEI_TRANSDETAIL' AND KSQL_COL_NAME IN ('FUNIQUESEQ'))
ALTER TABLE T_BEI_TRANSDETAIL ADD (FUNIQUESEQ VARCHAR(500) DEFAULT ' ' NOT NULL );