Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 27 May 2011 @ 09:44:22 GMT


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


Subj:   Re: Read a file inside BTEQ
 
From:   Anomy Anom

<-- Anonymously Posted: Friday, May 27, 2011 03:26 -->

Quincy Leslie wrote:

  If you are willing to use a Unix shell script in your process, then "here doc" SQL statement can be piped to "bteq". Within the bteq, a final select statement can be executed and those fields selected can be piped to another process, e.g. an awk statement for specific formatting, including populating of one or more variables. P.s., the final select statement output is most easily read by another process, if the output fields are concatenated and pipe delimited.  


Could you please forward any code snippet if available. Thanks in advance.



     
  <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