LOGOFF

Basic Teradata Query Reference

brand
Teradata Tools and Utilities
prodname
Basic Teradata Query
vrm_release
16.20
category
Programming Reference
featnum
B035-2414-108K

Purpose

Terminates the user's database sessions without exiting from BTEQ.

Syntax



Usage Notes

The LOGOFF command does not exit BTEQ. Use the EXIT or QUIT commands, which are synonymous within BTEQ, to exit BTEQ after logging off Teradata Database sessions.

For convenience in writing scripts, a suggested method is to use the EXIT command after an explicit LOGOFF command, and use the QUIT command when the LOGOFF command is not explicitly included.
The LOGOFF command is not valid in a Teradata SQL macro.

Example – LOGOFF

To log off of Teradata Database, enter the following command:

.logoff