RENAME MACRO Syntax Elements - Teradata Vantage - Analytics Database

SQL Data Definition Language Syntax and Examples

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
2025-11-22
dita:mapPath
jco1628111346878.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
mdr1472255012272
lifecycle
latest
Product Category
Teradata Vantageā„¢
database_name_1
Optional name of the containing database for the macro to be renamed if other than the current database.
You cannot use this statement to change the database qualifier for the macro.
user_name_1
Optional name of the containing user for the macro to be renamed if other than the current user.
You cannot use this statement to change the user qualifier for the macro.
old_macro_name
Existing name for the macro.
database_name_2
Optional name of the containing database for the renamed macro if other than the current database.
user_name_2
Optional name of the containing user for the renamed macro if other than the current user.
new_macro_name
New name for the macro.
For information about naming database objects, see Teradata Vantageā„¢ - SQL Fundamentals, B035-1141.