The problem is this line in the TPT job script: LogTable = @TargetTable || '.LG_Trans'
The log table is a fully qualified table name with the target table name as the database name.
I think that was not your intention.
I believe this is your intention: LogTable = @TargetTable || '_LG_Trans'
The problem is this line in the TPT job script:
LogTable = @TargetTable || '.LG_Trans'
The log table is a fully qualified table name with the target table name as the database name.
I think that was not your intention.
I believe this is your intention:
LogTable = @TargetTable || '_LG_Trans'