How to Display Script Results | Basic Teradata Query - Displaying Script Results - Basic Teradata Query

Basic Teradata® Query Reference - 20.00

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
Basic Teradata Query
Release Number
20.00
Published
October 2023
ft:locale
en-US
ft:lastEdition
2025-04-02
dita:mapPath
gxl1691484661681.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
psp1479308573013
Product Category
Teradata Tools and Utilities

Depending on the configuration of the system SYSPRINT specification or system output settings, BTEQ either displays the results on the user terminal or writes them to the specified file:

.Logon e/fml, password, acctid 
*** Logon successfully completed.
*** Total elapsed time was 3 seconds.
.SET SEPARATOR ' | '
SELECT * FROM department; 
*** Query completed. 5 rows found. 4 columns returned.
*** Total elapsed time was 3 seconds.
  DeptNo | DeptName      | Loc |  MgrNo
  ------   --------------  ---    -----
     500 | Engineering   | ATL |  10012
     700 | Marketing     | NYC |  10021
     300 | Exec Office   | NYC |  10018
     600 | Manufacturing | CHI |  10007
     100 | Administration| NYC |  10011
.LOGOFF  
*** You are now logged off from the DBC.
.EXIT;