The IF/END IF block wasn’t formatted correctly. What SQL language(s) does this apply to? PLSQL Which SQL Formatter version are you using? (The exact version number.) 15.6.6 ...