Executing Stored Procedures - Basic Teradata Query

Basic Teradata Query Reference

Product
Basic Teradata Query
Release Number
16.10
Published
May 2017
Language
English (United States)
Last Update
2018-06-28
dita:mapPath
wmy1488824663431.ditamap
dita:ditavalPath
Audience_PDF_include.ditaval
dita:id
psp1479308573013
Product Category
Teradata Tools and Utilities

Execute stored procedures either interactively, or include them in BTEQ scripts or input stream files.

Use the Teradata SQL CALL statement to execute a stored procedure interactively:

CALL samplesp1 (8888, pAmount);

If the procedure is created with parameters, specify the parameter arguments within the parenthesis.