Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 11 Jan 2011 @ 09:46:39 GMT


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


Subj:   Re: Excluding the LAST three chareacteres
 
From:   Vankadari, Minal

Hello,

May be you can use

     SELECT SUBSTR('GoodMorning',1,Length('GoodMorning')-3);

i.e.,

     SELECT SUBSTR(Columnname,1,Length(Columnname)-3) from Db_name.Tbl_name;

Regards,

Minal



     
  <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