Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 14 Dec 2004 @ 15:50:04 GMT


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


Subj:   Re: BTEQ Format Question: Justify, zerofill and truncate
 
From:   Narayan Murthy

Use the "X" format specifier rather than "9"

     CAST((IDM.IDENTITY_ID (FORMAT 'X(09)')) as char(11))

But then justification!

Narayan



     
  <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