Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Fri, 24 May 2002 @ 15:38:41 GMT

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

Subj:   Re: Format statement and floating point numbers
From:   Michael McBride

Actually, it is stored as varchar (so no trailing blanks) but you put me in the right direction, this modification to your suggestion works...

substr('00000000000000000000', 1, 20-characters(first_acct_nbr)) || (first_acct_nbr)

Thanks !

  <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: 28 Jun 2020