IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_CAS_TRANSFERAPPLY_ENTRY' AND KSQL_COL_NAME IN ('FINSTITUTIONCODE'))
ALTER TABLE T_CAS_TRANSFERAPPLY_ENTRY ADD (FINSTITUTIONCODE NVARCHAR(80) DEFAULT ' ' NOT NULL );