LABEL - Basic Teradata Query

Basic Teradata Query Reference

Product
Basic Teradata Query
Release Number
15.10
Language
English (United States)
Last Update
2018-10-07
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:

 

Syntax Element

Specification

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 blanks or special characters. Only the first 30 characters are significant.

Usage Notes  

The LABEL command identifies the target of a GOTO statement.

Example  

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