Home Page for the TeradataForum
 
 

 

Archives of the TeradataForum





Message Posted: Wed, 30 Mar 2005 @ 18:33:34 GMT





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




Subj:   BTEQ cast a POSITION
 
From:   Capp.Luckett



I am running BTEQ on the mainframe. I want to use CAST, or similar function, to output the results in a readable char format.

My statement attempt is:

     cast(cast(position ('cessation' in sh.tobacco_comment) as cess1)
                                 as char(03)),

Any clues or corrections would be appreciated.

Capp Luckett





     
  <Prev Next>  
<<First
<Prev
Next> Last>>  
 
 
 
 
 
 
 
 
  
 
  Top Home Join Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky 
Last Modified: 30 Jun 2008