2022
There is a possibility that Data Type Size of Salesforce field may not match with database field after replication.
Example:
Salesforce field with API name Bank_c and Data Type Text(255) is replicated as Bank_c (nvarchar(765),null). Here Data Type of replication is fine but not the Data Size. Data Type size in database is replicated as 765 characters instead of 255 characters.
To resolve this issue, the below steps must be followed.
data structure matchup to DBAMP
for multibyte use nchar(8), for single byte use char(8)
force.id=nchar(18)
force.date=datetime2(7)
force.datetime=datetime2(7)