Log Off from Database Sessions and Exit BTEQ | Basic Teradata Query - Logging Off Database Sessions and Exiting BTEQ - Basic Teradata Query

Basic Teradata® Query Reference - 20.00

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
Basic Teradata Query
Release Number
20.00
Published
October 2023
ft:locale
en-US
ft:lastEdition
2025-04-02
dita:mapPath
gxl1691484661681.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
psp1479308573013
Product Category
Teradata Tools and Utilities

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.