SYNCH ERROR: [8152] String or binary data would be truncated
jkinstlinger
Posts: 2
I received this message upon starting a synch between two databases, that included insert new rows. What would have caused this error, and does RedGate identify the exact row that was the culprit? It is difficult to tell from the error message.
:?
:?
Comments
I don't believe we check explicitly that data will be truncated (since that could be a very expensive operation if the table has a large number of rows), just that there's the possibility of it happening.
Hope that helps,
Robert
Red Gate
Save the synchronization script to a file.
Add the line SET ANSI_WARNINGS OFF on the line immediately below SET NUMERIC_ROUNDABORT.
This allows you to truncate columns in SQL Server tables (at your own peril, of course!)