IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_ReqAccountEntry' AND KSQL_COL_NAME ='FPAYERTYPE')
 ALTER TABLE T_ER_ReqAccountEntry ADD (FPAYERTYPE VARCHAR(30) DEFAULT ' ' NOT NULL );
 
update T_ER_ReqAccountEntry set FPAYERTYPE = 'er_payeer';