Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 17 Jun 2004 @ 11:55:47 GMT


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


Subj:   Re: How to identify number in alphanumerics field?
 
From:   Fred Keiser

Assuming the character string ends with the 4 digit date wanted....

     sel substr(columnname,length(columnname)-3,4)
     from tablename;


     
  <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