IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_DAILYREIMPAYENTRY' AND KSQL_COL_NAME ='FTARGETPAYACCTID')
 ALTER TABLE T_ER_DAILYREIMPAYENTRY ADD (FTARGETPAYACCTID BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_LOANBILLPAYENTRY' AND KSQL_COL_NAME ='FTARGETPAYACCTID')
 ALTER TABLE T_ER_LOANBILLPAYENTRY ADD (FTARGETPAYACCTID BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_PUBLICREIMPAYENTRY' AND KSQL_COL_NAME ='FTARGETPAYACCTID')
 ALTER TABLE T_ER_PUBLICREIMPAYENTRY ADD (FTARGETPAYACCTID BIGINT DEFAULT 0 NOT NULL );
 IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_TRIPREIMPAYENTRY' AND KSQL_COL_NAME ='FTARGETPAYACCTID')
 ALTER TABLE T_ER_TRIPREIMPAYENTRY ADD (FTARGETPAYACCTID BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_TRIPREQPAYENTRY' AND KSQL_COL_NAME ='FTARGETPAYACCTID')
 ALTER TABLE T_ER_TRIPREQPAYENTRY ADD (FTARGETPAYACCTID BIGINT DEFAULT 0 NOT NULL );
