Stored procedures, which are called Persistent Stored Modules in the ANSI SQL-92 specifications, consist of a set of control- and condition-handling statements that provide a procedural interface to the database. These statements are specified using the Stored Procedure Language (SPL).
A stored procedure can be created from ODBC and some other client utilities, and stored within the user database on the server. It can be executed using the SQL CALL statement.
For a complete description of stored procedures and SPL, see Teradata Vantage™ - SQL Stored Procedures and Embedded SQL, B035-1148.