Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 08 Dec 2006 @ 21:47:31 GMT


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


Subj:   Re: Nth digit in a DECIMAL(10,0)
 
From:   Michael Larkins

Hi Prahlad:

Regardless of how you are going to handle the number of digits less than 4, given the variable length of the digits, the simpliest technique is to substring from the 4th position after trimming the leading spaces from your numeric data.


Regards,

Michael Larkins
Certified Teradata Master
Certified Teradata SQL Instructor



     
  <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