Archives of the TeradataForum
Message Posted: Tue, 20 Jul 2004 @ 12:08:45 GMT
Anomy Anom wrote:
A FastExport never writes a column header.
> .EXPORT REPORT FILE=@OUTPUT_LST@ > .Set SideTitles Off; > .Set Echoreq Off; > .Set Width 254; > .Set TitleDashes Off; > > Select * > from @ACCESS_DB@.SYS_PASSWORDS > where User_group = 'MSTR' > and last_changed_date < current_date - 90; > > .LABEL End; > > .EXPORT RESET
This is a BTEQ Export.
There are two ways to get rid of the header:
- you add a (TITLE '') to each column in your select list
- you specify "EXPORT DATA" instead of "EXPORT FILE" and add a "SET RECORDMODE OFF" before the select. This switches back to Report format and omits the header, but is undocumented behaviour.
Btw, in the newest release of BTEQ (8.2.1 Win32) RECORDMODE is back again, so no more limit of 254 chars. It's neither in the manuals nor shown by ".HELP BTEQ" but BTEQ accepts it and it works ;-)
|Copyright 2016 - All Rights Reserved|
|Last Modified: 27 Dec 2016|