Is there any function to replace words in ASE?
Asked
Active
Viewed 1.8k times
4
-
Got the ans..str_replace is working – SSE Jul 01 '11 at 11:35
3 Answers
1
select str_replace(original,search,replacement)
ASE does not have 'REPLACE' but 'str_replace' This will return varchar(LONG), you may have use cast to shrink it back down.

nka
- 41
- 4
0
REPLACE ( original-string, search-string, replace-string )
SELECT REPLACE( 'abc,def,ghi,jkl', 'abc', 'xx' ) FROM products

sudheshna
- 1,150
- 1
- 13
- 24
-
What is the output you are getting and how do you want to replace the words, from which field in the table etc. please detail – sudheshna Jul 05 '11 at 06:14
-