SQL Statements Related to Macros - Teradata Vantage - Analytics Database

Database Introduction

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-21
dita:mapPath
gtm1628096154303.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
dsm1472253642401
lifecycle
latest
Product Category
Teradata Vantageā„¢

The following table lists the SQL statements that you can use with macros.

Statement Description
CREATE MACRO Incorporates a frequently used SQL statement or series of statements into a macro.
EXECUTE Runs a macro.
A macro can also contain an EXECUTE statement that executes another macro.
DROP MACRO Deletes a macro.