IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BEI_BANKPAYINGBILL_E' AND KSQL_COL_NAME IN ('FRECEMAIL'))
 ALTER TABLE T_BEI_BANKPAYINGBILL_E ADD (FRECEMAIL NVARCHAR(500) DEFAULT ' ' NOT NULL );

IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BEI_BANKAGENTPAY_ENTRY' AND KSQL_COL_NAME IN ('FRECEMAIL'))
 ALTER TABLE T_BEI_BANKAGENTPAY_ENTRY ADD (FRECEMAIL NVARCHAR(500) DEFAULT ' ' NOT NULL );