SQL Statements Related to Macros - Teradata Database

Database Introduction

Product
Teradata Database
Release Number
15.00
Language
English (United States)
Last Update
2018-09-25
dita:id
B035-1091
lifecycle
previous
Product Category
Teradata® Database

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

 

Use this statement…

To…

CREATE MACRO

incorporate a frequently used SQL statement or series of statements into a macro.

EXECUTE

run a macro.

Note: A macro can also contain an EXECUTE statement that executes another macro.

DROP MACRO

delete a macro.