Stored Procedure Compilation (SPL Prefix) Message SPL1078 - 17.10 - SPL1078 - Advanced SQL Engine - Teradata Database

Teradata Vantageā„¢ - Database Messages

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1096-171K
Language
English (United States)
Message
"%s:E(L%d), User is not authorized to use the DDL/DCL/Dynamic SQL statement."
Explanation
The reason is that the creator and the immediate owner of the stored procedure are not the same. Hence the DDL, DCL or dynamic SQL statement cannot be specified in the SPL source text.
Generated By
TSP module.
For Whom
End user.
Notes
None
Remedy
Ensure that either the creator and the immediate owner of the stored procedure are the same or do not use the DDL DCL and/or dynamic SQL statements in the SPL source text.