Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 15 Dec 2006 @ 16:45:44 GMT


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


Subj:   Looking for bad data
 
From:   Stone, Randall

I'm trying to find bad data in a character field. The correct format should be numbers only in the first four positions, followed by an 'M' in the 5th position. In SQL Server, I would write something like,

     WHERE field1 LIKE( '[0-9][0-9][0-9][0-9][0-9,M]')

Is there anything equivalent in Teradata?


Thanks,

Randall Stone



     
  <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: 27 Dec 2016