|
The mi_routine_id_get() accessor function returns the routine identifier for the user-defined routine that the specified function descriptor describes.
The mi_routine_id_get() function is one of the DataBlade API functions of the Fastpath interface. It returns the routine identifier for the UDR that the funcdesc_ptr function descriptor describes. The routine identifier uniquely identifies a user-defined routine. It is generated by the database server and stored in the procid column of the sysprocedures system catalog.
Tip: The DataBlade API provides the mi_funcid data type to hold routine identifiers.The mi_funcid data type has the same structure as the mi_integer data type. For backward compatibility, mi_routine_id_get() continues to store an mi_integer for a routine identifier.
Return Values
Related Topics
See the descriptions of the following functions: mi_cast_get(), mi_routine_get(), mi_routine_get_by_ typeid(), and mi_td_cast_get().
For more information, see Calling UDRs with the Fastpath Interface.