15.00 - 15.10 - SQL Used to Create Stored Procedures - Teradata Database

Teradata Database Introduction to Teradata

Product
Teradata Database
Release Number
15.00
15.10
Content Type
User Guide
Publication ID
B035-1091-151K
Language
English (United States)
Last Update
2018-09-25

Teradata SQL supports creating, modifying, dropping, renaming, and controlling privileges of stored procedures through DDL and DCL statements.

You can create or replace an external stored procedure through the COMPILE command in Basic Teradata Query (BTEQ), BTEQ for Microsoft Windows systems (BTEQWIN), Teradata Studio, and SQL Assistant. You must specify a source file as input for the COMPILE command.

Stored procedures do not need to be compiled, but external stored procedures do.

You can also create or modify a stored procedures using the CREATE PROCEDURE or REPLACE PROCEDURE statement from CLIv2, ODBC, and JDBC applications.