LOGOFF - Basic Teradata Query

Basic Teradata Query Reference

Product
Basic Teradata Query
Release Number
15.00
Language
English (United States)
Last Update
2018-09-25
dita:id
B035-2414
lifecycle
previous
Product Category
Teradata Tools and Utilities

LOGOFF

Purpose  

Terminates the user’s Teradata Database sessions without exiting from BTEQ.

Syntax  

Usage Notes  

Using 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.

Note: 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.

Note:  

The LOGOFF command is not valid in a Teradata SQL macro.

Example  

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

   .logoff