Choosing the Correct Execution Option - Advanced SQL Engine - Teradata Database

SQL External Routine Programming

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
17.00
Published
June 2020
Language
English (United States)
Last Update
2021-01-24
dita:mapPath
qwr1571437338192.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1147
lifecycle
previous
Product Category
Teradata Vantage™

Use the following table to choose the correct execution option for external stored procedures that do not execute SQL and were created without specifying the EXTERNAL SECURITY clause in the CREATE PROCEDURE or REPLACE PROCEDURE statement.

IF … THEN use …
you are in the development phase and are debugging an external stored procedure EXECUTE PROTECTED.
the external stored procedure does not use any operating system resources EXECUTE NOT PROTECTED.

Running an external stored procedure in nonprotected mode speeds up processing considerably.

Use this option only after thoroughly debugging the external stored procedure and making sure it produces the correct output.