![]() |
|
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
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
![]() | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 30 Jun 2008 | ||||||||||||||||||||||||||||||||||||||||||||||||