Log Off from Database Sessions and Exit BTEQ | Basic Teradata Query - 17.00 - Logging Off Database Sessions and Exiting BTEQ - 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

There are three termination commands available to log off and exit BTEQ:

Command Results
LOGOFF Ends the current database user sessions without exiting BTEQ.
EXIT or QUIT Ends any current database user sessions and exits BTEQ.

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.