17.10 - Restriction on External Authorization From a Macro - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Data Definition Language Detailed Topics

Advanced SQL Engine
Teradata Database
Release Number
Release Date
July 2021
Content Type
Programming Reference
Publication ID
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.