The following procedure synchronizes the new version of the IN_DOC table (NEW_DOC) with the existing version (IN_DOC) based on the rows in the staging table (SYNC_STAGE_DOC).
In SSMS or at the command prompt (sqlcmd), execute the following procedure.
EXEC inuser.IN_DB_UPGRADE_SP_SYNC_TABLE_IN_DOC;
The following parameters are available to use.
- @MAX_MINUTES
- @BATCH_SIZE