Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Thu, 07 Aug 2008 @ 20:39:54 GMT

  <Prev Next>  
Next> Last>>  

Subj:   How to generate title column using bteq export
From:   Anomy Anom

<-- Anonymously Posted: Thu, 7 Aug 2008 13:56 -->


I am exporting a file using the DIF format for an Excel import. When I open the file in Excel, some how the title is not present. I have explicitly asked for the title but still it does not show on the report.

Here is what I am trying:

     .EXPORT DIF FILE=report.xls
     .set titledashes on
     .Set Separator '|'
     .Set Width 254
      Trim(FieldName) (Title "MyField") (VARCHAR(20)) as MyField
      From  myTable;

Note I will need use the DIF format since it will need to be in Excel.

Thanks a lot!

  <Prev Next>  
Next> Last>>  
  Top Home Privacy Feedback  
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 28 Jun 2020