Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

Replace with carriage return/ line feed - response (1) by msk.khurram

$
0
0

Hi Nolan,
Try this it will solve your problem
SELECT REGEXP_REPLACE('A|b','\|','0D0A'XC);
In fact to replace a special character like | you have to precede it with a backslash \ character. 
Cheers :)
Khurram


Viewing all articles
Browse latest Browse all 14773

Trending Articles



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