![]() |
|
Archives of the TeradataForumMessage Posted: Fri, 26 Jun 2009 @ 19:56:48 GMT
Arun - We typically use a UDF function for this. Something like the following should parse out the numeric values only:
SELECT
TRIM(UDF_TRANSLATE( '123 Main Street'
,'0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz/(),-&.%$#@*{}[]|\;:<>?'
,'0123456789'
)) AS Numeric_Only_Txt;
Johannes de Wet
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||