Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Mon, 09 Nov 2009 @ 10:54:26 GMT


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


Subj:   Re: Need to select only the mantissa part
 
From:   Krishna Reddy Rachur

     CREATE TABLE TEST_MATISSA
     (
     COL1 DECIMAL(18,6)
     );


     SELECT COL1,SUBSTRING(COL1 FROM POSITION('.' IN COL1)+1) AS MATISSSA
        FROM TEST_MATISSA

Thanks

Krishna



     
  <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