There are three termination commands available to log off from the Teradata Database and exit BTEQ:
|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.