Executing stored procedures Professional
Stored procedures can be created and deleted by ODBCDBE through the SQL CMD command:
The file mybatch.sql can contain any valid SQL-statement including CREAE PROCEDURE, like:
A stored procedure is executed either by constructing an SQL statement, or by using the EXECSP command. The result is returned in a workarea.
The EXECSP-command takes care of returning user-defined errors of the stored procedure as runtime errors.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.