Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 26 Jun 2009 @ 19:56:48 GMT


     
  <Prev Next>   <<First <Prev
Next>
Last>>
 


Subj:   Re: Address Parsing
 
From:   de Wet, Johannes M

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
Unum



     
  <Prev Next>   <<First <Prev
Next>
Last>>
 
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023