nvarchar(255) to nvarchar(max) conversion issues
jumpmedia
Posts: 3
Hi, I have version 6.1.0.53 and we are converting nvarchar(255) columns to nvarchar(max). We were surprised when the compare reported that the column might be truncated, and also when it insisted on dropping the table and recreating it (Which causes us problems as the tables are replicated).
Is this expected behaviour, or functionality that can be improved?
Is this expected behaviour, or functionality that can be improved?
Dave Needham.... Jump Media
Comments
Redgate Software
What would be great to get more clarity on is why the tables are being dropped rather than an alter column or new column and rename method being used.
This is pertinent to us because we have replication set up, and recreating the table causes its GUID to change, hence breaking replication.
I've raised a bug about this, as SQL Server 2005 can cope with ALTER COLUMN between these types, and hopefully we can get it fixed in the next version.
Redgate Software
If you have a valid Support & upgrades option, you can download SQL Compare V.7 using the 'Check for updates' mechanism (SQL Compare GUI ->Help ->Check for updates)
or download using this link: HERE.
SQL Compare V.7 will install along side any previous versions of the software.
Many Thanks
Eddie Davis
Senior Product Support Engineer
Redgate Software Ltd
Email: support@red-gate.com