LABEL - Basic Teradata Query

Basic Teradata Query Reference

Product
Basic Teradata Query
Release Number
16.10
Published
May 2017
Language
English (United States)
Last Update
2018-06-28
dita:mapPath
wmy1488824663431.ditamap
dita:ditavalPath
Audience_PDF_include.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.

For workstation-attached systems, labelname must begin with a letter (either uppercase or lowercase). For mainframe-attached systems, labelname must begin with a letter or number. Remaining characters can be any combination of letters or numbers.

labelname cannot include spaces or special characters. Only the first 30 characters are significant.

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