Resolving Unqualified References - Analytics Database - Teradata Vantage

SQL Data Definition Language Detailed Topics

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2023-07-11
dita:mapPath
vuk1628111288877.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
B035-1184
lifecycle
latest
Product Category
Teradata Vantage™

The default database of the executing user, not the creating user, is used to resolve unqualified references to database objects in a macro data definition statement (DDL). Therefore, object references in a macro data definition statement should be fully qualified in the macro body (see CREATE MACRO and REPLACE MACRO).