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