Archives of the TeradataForum
Message Posted: Wed, 17 Jul 2002 @ 09:16:49 GMT
<-- Anonymously Posted: Wednesday, July 17, 2002 04:31 -->
I have a string where I need to replace all the occurrences of a string with another string.
So CUST-ACCT-I, need to become CUST_ACCT_I
How do you replace all the occurrences of '-' with a '_'?
Options: Use embedded case statements (a case within a case using the position function to return the location of the first underscore)
Is there a Teradata function to do this??
Thanks for your help in advance.
|Copyright 2016 - All Rights Reserved|
|Last Modified: 28 Jun 2020|