Logging Off from the Teradata Database and Exiting BTEQ

Basic Teradata Query Reference

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

There are three termination commands available to log off from the Teradata Database and exit BTEQ:

Command Results
LOGOFF Ends the current Teradata Database sessions without exiting BTEQ.
EXIT or QUIT Ends the current Teradata Database sessions and exits BTEQ.
EXIT or QUIT Exits BTEQ when the user is not logged on to the Teradata Database.

Enter the LOGOFF, EXIT, or QUIT commands at a terminal or workstation only in response to the BTEQ command prompt. Any previous command or request must be completed. To interrupt or abort BTEQ before the previous command or request completes, use the Break key as described in Discarding Input and Abort Requests.