Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Derived Column Transformation help with crlf

$
0
0

With a long text field named Title, the following works well to replace single quotes with double quotes.

REPLACE(Title,"\"","\"\"")

Now it turns out that this same Title text field also contains some rows with some nonprinting 'new line/carriage return' characters. Don't know if there is just one of them or both are present, but whatever it is breaks the Derived Column Transformation by causing a new row to be created at that character.

What kind of REPLACE expression would convert the crlf characters to just a harmless space or underscore, please?


HomeCookN


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>