ANSI Comment Elements - Basic Teradata Query

Basic Teradata Query Reference

Product
Basic Teradata Query
Release Number
15.00
Language
English (United States)
Last Update
2018-09-25
dita:id
B035-2414
lifecycle
previous
Product Category
Teradata Tools and Utilities

ANSI Comment Elements

 

Element

Function

Rules

-- (double dash)

Begins an ANSI comment

It must be the first nonblank character on the line.

Text string

Contains the comment text

Can be as many characters as fills the line, less one for the terminator character.

<cr> (carriage return)

<lf> (line feed)

Terminates an ANSI comment

The rest of the line, after the ending character, must be blank.

ANSI Comment Example

ANSI comments begin with a double-dash symbol (--), contain text, and end within a single line with either a carriage return <cr> or a line feed <lf>, as in the following example:

   -- ANSI comment example text<cr>