How to Create a Run File | Basic Teradata Query - 17.00 - Creating a Run File - Basic Teradata Query

Basic Teradata® Query Reference

prodname
Basic Teradata Query
vrm_release
17.00
created_date
June 2020
category
Programming Reference
featnum
B035-2414-220K

To create a BTEQ run file that displays the contents of the Department table in the default database, create a file called SAMPFILE, and enter the following BTEQ script:

.LOGON  tdpid/userid,password 
SELECT * FROM department;
.LOGOFF