Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 11 Jan 2011 @ 09:47:48 GMT


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


Subj:   Re: Excluding the LAST three chareacteres
 
From:   Lakshman_Radhakrishnan

Hi chander

     SELECT CHAR(IDCOL) as charcount , SUBSTRING ( IDCOL FROM 1 FOR charcount -3 ) FROM TABLE;

HOPE THIS WILL GIVE YOU THE RESULT.


Regards



     
  <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