Reorganize SQL errors output (rm comments)