17.10 - Limit On Request Size - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Data Definition Language Detailed Topics

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1184-171K
Language
English (United States)

The maximum size of the fully expanded text for a macro is 2 MB.

Because expansions of source text in macro definitions are made to fully qualify object names and to normalize expressions, it is possible for a macro to be defined but also to be unusable because of stack overflows in the Syntaxer at performance time. In this case, the system returns an error.