External SQL Procedures and SQL | CREATE PROCEDURE | Teradata Vantage - External SQL Procedures and SQL - Analytics Database - Teradata Vantage

SQL Data Definition Language Detailed Topics

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
2024-12-13
dita:mapPath
vuk1628111288877.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
jbg1472252759029
lifecycle
latest
Product Category
Teradata Vantage™

You can execute SQL function calls from external procedures using either of the following languages and APIs.

FOR an external routine written in this language … You can use this API to execute SQL calls …
  • C
  • C++
CLIv2
Java JDBC

This does not mean that you can embed SQL statements within an external procedure, only that you can use standard CLIv2 or JDBC function calls to the appropriate driver, which then translates those calls into SQL requests and submits them to the Parser for processing.

The database does not support SQL function calls for mainframe-attached systems.

See Teradata® Call-Level Interface Version 2 Reference for Workstation-Attached Systems, B035-2418 or Teradata JDBC Driver Reference, available at https://teradata-docs.s3.amazonaws.com/doc/connectivity/jdbc/reference/current/frameset.html, for information about the available SQL function calls.