BEGIN DECLARE SECTION | Teradata Vantage - BEGIN DECLARE SECTION - Teradata Vantage - Analytics Database

SQL Stored Procedures and Embedded SQL

Deployment
VantageCloud
VantageCore
Edition
VMware
Enterprise
IntelliFlex
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
ft:locale
en-US
ft:lastEdition
2023-10-30
dita:mapPath
frc1628111662093.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
rjx1472253414573
lifecycle
latest
Product Category
Teradata Vantageā„¢

Identifies the start of an embedded SQL declare section for an application written in C.

ANSI Compliance

BEGIN DECLARE SECTION is ANSI/ISO SQL:2011-compliant.

Required Privileges

None.

Invocation

Nonexecutable preprocessor declaration.

Embedded SQL only.

Syntax

BEGIN DECLARE SECTION

Usage Notes

The BEGIN DECLARE SECTION and the END DECLARE SECTION statements are mandatory for applications written in C.

Preprocessor2 issues a warning if it finds either statement in a COBOL or PL/I application.

All host variables must be defined within the declare section.

You must specify the complete BEGIN DECLARE SECTION statement, including the SQL prefix and terminator, on a single line. Only a pad character can separate the words of the statement.

Related Information

END DECLARE SECTION.