HELP BTEQ Command | Basic Teradata Query - HELP BTEQ - Basic Teradata Query

Basic Teradata® Query Reference

Product
Basic Teradata Query
Release Number
17.00
Published
December 2020
Language
English (United States)
Last Update
2020-12-12
dita:mapPath
zqt1544831938740.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
B035-2414
lifecycle
previous
Product Category
Teradata Tools and Utilities

Purpose

Returns a list of all available BTEQ commands and non-graphic representations of their syntax. When a BTEQ command is specified, an individual syntax and purpose statement are displayed.

Syntax



Usage Notes

The HELP BTEQ command provides accurate spelling and syntax for all BTEQ commands. Optionally, the HELP BTEQ command can be used for a particular BTEQ command. For example, HELP BTEQ <cmd>, where <cmd> is any BTEQ command, will give the help content for that command only. The HELP BTEQ command is not suppressed by the QUIET command.

The HELP BTEQ display uses the following characters to represent the command syntax in a non-graphic format:
  • Brackets, [ ] indicate optional choices that can be omitted.
  • Braces, { } indicate required choices, one of which must be stated.
  • A vertical bar | separates different values for options.
  • Uppercase characters represent reserved words that must be specified exactly as shown.
  • Lowercase characters represent required, user-supplied values.

The HELP BTEQ command is valid in an SQL macro.

Example 1 – HELP BTEQ

To request help, type:

.HELP BTEQ

BTEQ Response

BTEQ is a general-purpose utility which enables the user to submit 
Teradata SQL queries to the Teradata Database; it formats the results and 
returns them to the screen, file, or printer.

Example 2 – HELP BTEQ Instigated By a Macro

The HELP BTEQ command in an SQL macro appears as:

ECHO '.HELP BTEQ';