August 20, 2009 at 4:12 pm
Hi
I want to change a column in one of my tables from ntext to nvarchar(max), I was just wandering if there is likely to be any kind of data loss when doing this or any other mishap that could occur?
Thanks
Matt
August 20, 2009 at 4:32 pm
I changed Northwind sample database in both SQL Server 2005 and 2008 and did test run of all the code and all appeared fine so just run tests. The reason is NVarChar(max) actually adds most ANSI SQL operations that are invalid with NText.
Kind regards,
Gift Peddie
August 20, 2009 at 9:47 pm
Matt (8/20/2009)
HiI want to change a column in one of my tables from ntext to nvarchar(max), I was just wandering if there is likely to be any kind of data loss when doing this or any other mishap that could occur?
Thanks
Matt
Heh... the answer is "No" but why trust a post on the internet... use SELECT/INTO to make a copy of the table and try it. 😛
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply