Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 15 Sep 2005 @ 18:17:15 GMT


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


Subj:   Re: Teradata equivalent of DB2 TRANSLATE
 
From:   Dieter Noeth

Geoffrey Rommel wrote:

  There you will find that TRANSLATE translates any characters to any other. There is no direct Teradata equivalent for this; you would have to code a UDF. In this case, however, the code seems to be testing for whether the character string represents an integer, so maybe a UDF that tested for an integer-like character string would be better.  


Dennis Calkins once posted a UDF to check for numerics:

www.teradataforum.com/teradata/20031203_102414.htm


And the Oracle version of translate can be found at the Teradata site (but be aware, that the order of parameters is different)


Dieter



     
  <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: 23 Jun 2019