Choosing the Correct Execution Option - Analytics Database - Teradata Vantage

SQL External Routine Programming

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
ft:locale
en-US
ft:lastEdition
2025-03-30
dita:mapPath
iiv1628111441820.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
qnu1472247494689
lifecycle
latest
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.