Synchronizing nvarchar(max) columns, data gets truncated
Glebby
Posts: 4 Bronze 1
When I synchronize two nvarchar(max) columns, the data in the destination table gets truncated up to 4000 characters. I am using "Deploy using SQL Data Compare" deployment method.
version 11.5.7.1288 professional.
version 11.5.7.1288 professional.
Comments
Thanks for your post!
I have logged a support ticket for you and will email you shortly.
Product Support
Redgate Software Ltd.
E-mail: support@red-gate.com
We have logged this bug as SDC-2176 and are currently investigating. We will update this thread when a fix becomes available.
David
Redgate Software
Thank you!
We have been able to reproduce the issue locally and are currently work towards a fix. We've been rather busy with a number of items with Compare 12 but this is now top of our support list.
David
Redgate Software
We've removed the code that would cause long string rows to get inserted or updated in batches of 8k bytes - now the row will get modified in one go. The old code generally worked fine, but there were edge cases around a combination of non-unique custom comparison keys and custom where clauses where it wouldn't correctly identify the row to update. It appears that this behaviour was working around a bug in Query Analyzer (the 2000 version of SSMS) which we no longer support, so we can simplify the behaviour a bit
Please let us know if this change fixes your problem