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

Is COLLATE able to sort for line break characters?

$
0
0
Hi,I was working with some address data and came across a few Zip Code entries that were proceeded with a carriage return and line feed. I attempted to remedy this using collation, but I was unable to find a form that would catch line breaks. I did find a fix that would remove the line break characters (replace(replace(ZipCode,char(10),''),char(13),'')), but I'm curious as to whether or not COLLATE would be able to do the same.Thanks,Zach

Viewing all articles
Browse latest Browse all 3145

Trending Articles