![]() |
|
Archives of the TeradataForumMessage Posted: Thu, 13 Oct 2005 @ 18:18:53 GMT
Phil, The aim of the SQL below is to replace & with AND. A similar approach could possibly work for you ...
SELECT
'12&34',
SUBSTR('12&34',1,INDEX('12&34','&')-1)||'AND'||SUBSTR('12&34',INDEX('12&
34','&')+1);
Ravi Bhat
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||