I need to concatenate 2 ntext columns into one. I can’t convert them to nchar, cause both contains strings longer than 4000 chars.
Is there a way to do this in SQL Server 2005?
I need to concatenate 2 ntext columns into one. I can’t convert them to
Share
But really – with SQL Server 2005,
NTEXTbecomes deprecated and will most likely be phased out in SQL Server 2008 R2 or one release later.NVARCHAR(MAX)is the logical successor, giving you allNTEXTever gave you, and a lot more!If your fields would be
NVARCHAR(MAX)from the beginning, you could just write:and be done with it!
I’d suggest you upgrade your tables to use
NVARCHAR(MAX)instead ofNTEXT.Marc