This page will help you to handle SQL Errors during the analysis. SQL errors could occur before the Saving step, and after the Saving step. See in the screenshot how to identify the Saving step. When the statement : "Comparin objects on server" and "Merging objects on server" appear, the process is at the saving step.
When the issue occurs before the Saving step, the analyzer is populating the IN Tables, that are working tables for saving items in the local database.
When the issue occurs after the Saving step, the working tables are used to populate the technical tables in the local databases.