17.10 - Restriction on External Authorization From a Macro - 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)

You cannot specify CREATE AUTHORIZATION in a macro because the authorization password is not saved in either encrypted or unencrypted form. This would compromise the security of the OS logon user ID. See CREATE AUTHORIZATION and REPLACE AUTHORIZATION.

Otherwise, the system returns an error to the requestor.