The CREATE PROCEDURE SQL statement is used to link the dynamic library containing the user created XSP to the database. The database user must have the CREATE EXTERNAL PROCEDURE permission to be able to issue the CREATE PROCEDURE SQL statement.
The following is an example of a CREATE PROCEDURE SQL statement for an XSP which uses the Teradata PT:
For more information on using the CREATE PROCEDURE SQL statement, see Teradata Vantage™ - SQL External Routine Programming, B035-1147.