Quantcast
Viewing all articles
Browse latest Browse all 25

SQL - Replace line breaks and other characters

I'm not quite as proficient with SQL as I'd like, so when I stumble across little SQL gems I know I'll use again I like to note them down; what better a place to do that than my blog to share with the rest of the web :) This is a Transact SQL example, on how to replace a character on a select. The character being replaced is just the ASCII code of the character. SELECT REPLACE($FIELD, CHAR($

Viewing all articles
Browse latest Browse all 25

Trending Articles