Creating a Run File - Basic Teradata Query - 16.20

Basic Teradata Query Reference

prodname
Basic Teradata Query
vrm_release
16.20
category
Programming Reference
featnum
B035-2414-108K

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