Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 09 Dec 2004 @ 17:51:38 GMT


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


Subj:   BTEQ Cast Decimal to Char on MVS
 
From:   Capp.Luckett

Hi:

In BTEQ, using the cast function, I use the following statement:

     SELECT  CAST(PAT_ENC_CSN_ID as char(18))

however the output 14011315669. puts period (hex 4B) at the end of the character string.

I have checked the TD manuals and tried the format function. What am I missing to drop this last character?


I would appreciate any suggestions.

Capp Luckett



     
  <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: 27 Dec 2016