Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 09 Feb 2000 @ 17:52:08 GMT


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


Subj:   BTEQ Sentences
 
From:   Kenneth Stiglich

I'm using the following BTEQ SCRIPT to obtain a flat file.

     *************************************************
     > .LOGON user, password
     > .EXPORT DATA FILE=TasasDia.txt;
     > SELECT  CodProducto,
     >         SUM(MtoApertura),
     >         SUM(MtoSaldoDia),
     >         AVG(NumPorcentajeTasaOpe),
     >         0
     >         FROM desarrollo.ma_tasa_col
     >         GROUP BY 1;
     > .EXPORT RESET
     > .logoff
     > .EXIT
     *************************************************

This script returns a file with the name of the columns used in the select sentense as the header.

Following is an example;

     ************************************************************************************
     > CodProducto  Sum(MontoApertura)  Sum(MontoSaldoDia)  Average(NumPorcentajeTasaOpe)
     > -----------  ------------------  ------------------  -----------------------------
     > AVAAAE             181438773.41          3414510.70                       6.153783
     > AVAABC              29813589.64           707616.32                       6.852185
     > AVABPL                100000.00                 .00                       7.240000
     > AVACCT              50996960.94                 .00                          7.914
     ************************************************************************************

What setting or additional sentece should I use to avoid the header in the output file? Additional, this header appears every certain number of lines as a page break. I'm looking for a solution to avoid all the headers.


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