#1546 REPLACE statements (continued)