Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 07 Dec 2005 @ 14:41:06 GMT


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


Subj:   Re: Check Values is Numeric?
 
From:   Ramya_Somasundaram

If only alphabets are present, you can use UPPER and CASESPECIFIC functions and check.

Eg

     Sel
         Col1,
         case
              when  ((UPPER(col1 )(CASESPECIFIC)) = (LOWER(col1)))
              then 'numeric'

              else 'alphabet'
              end
         from  < Table >
         ;


     
  <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