Even though I have my DML options set to one per line, the beautifier insists on putting both the update and insert clause all on one line. MATCHED isn't recognized as a keyword, either. I just upgraded from 5.1.3 to 5.1.6. It's been a while since I used a merge command, but I thought it used to beautify ok.