Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 11 Jan 2011 @ 09:10:28 GMT


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


Subj:   Excluding the LAST three chareacteres
 
From:   Chanderbabu_Veppala

Dear Team,

I have a query , i have column like id varchar(255) i need to exclude the last three charecters. the column chars are varying ..just like one id gets 10char and another id 15 chars

example:

     id
     754007001a03NUL
     30145500200417
     35654ACI98y7

Result should be :

     id
     754007001a03
     30145500200
     35654ACI9

please sugest on this.


Regards

V.Chanderbabu



     
  <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