The following table shows where the database server stores information from CREATE FUNCTION and CREATE PROCEDURE statements in the sysprocedures system catalog table.
The database server assigns a unique identifying number to each UDR and stores this number in the procid column of sysprocedures table.
For SPL routines, the database server also stores routine information in the sysprocbody and sysprocplan system catalog tables. The sysprocbody table stores both the text and the compiled version (which is not legible) of the SPL routine. The sysprocplan table stores a compiled version of the execution plan, which is not legible.
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]