Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Mon, 14 Feb 2011 @ 10:57:41 GMT


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


Subj:   Re: Digits before first colon
 
From:   Yogesh Rajak

Hi,

You can use below query ,

     select substr ( '08:12:01' , 1, position (':' in '08:12:01') -1     )

Thanks and Best Regards,

Yogesh



     
  <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