Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

Restoring DB from SQL server 2005 to SQL Server 2014

$
0
0
hello there,I have noticed that when i tried to restore a sql server 2005 database to sql server 2014 some of the char fields insert a lot of spaces at the end and at the front of the column. I use a lot of string functions to sort it out but i want to find out if that can be avoided when upgrading LTRIM(RTRIM(REPLACE(REPLACE(REPLACE(namex, CHAR(9), ' '), CHAR(13), ' '), CHAR(10), ' '))) Do you have any idea why this is happening ?

Viewing all articles
Browse latest Browse all 3145

Trending Articles