LABEL Command | Basic Teradata Query - LABEL - Basic Teradata Query

Basic Teradata® Query Reference

Product
Basic Teradata Query
Release Number
17.10
Published
February 2022
Language
English (United States)
Last Update
2022-02-03
dita:mapPath
nnw1608578382132.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
B035-2414
lifecycle
previous
Product Category
Teradata Tools and Utilities

Purpose

Identifies the point at which BTEQ resumes processing, as specified in a previous GOTO command.

Syntax



where the following is true:

labelname
The user-defined name of the statement.The labelname value can be composed of any combination of the letters A..Z (upper or lower), the 0..9 numeric digits and underscores. Only the first 30 characters are significant. Special characters '$' and '#' are also accepted but may be subject to misinterpretation for scripts that are to be preprocessed by shell languages.

Usage Notes

The LABEL command identifies the target of a GOTO statement.

Example – LABEL

The following command example specifies OCCUPATION as the name of the statement at which BTEQ resumes processing as specified in a previous GOTO command:

.LABEL OCCUPATION