Home Page for the TeradataForum
 
 

 

Archives of the TeradataForum





Message Posted: Fri, 02 May 2008 @ 10:27:21 GMT





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




Subj:   Pattern matching in Teradata SQL
 
From:   Anomy Anom



<-- Anonymously Posted: Fri, 2 May 2008 10:50 -->

Hi

I need to find patterns in a varchar field like '%R[0-9]%'

which means an 'R' combined with a digit and no spaces between in any position of the string.

How can I formulate such a condition in SQL?

How would I have to do it, if I'd look for '%R[0-9][0-9]%' which means an R combined with 2 following digits?

Any help appreciated





     
  <Prev Next>  
<<First
<Prev
Next> Last>>  
 
 
 
 
 
 
 
 
  
 
  Top Home Join Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky 
Last Modified: 06 Oct 2008