The mi_funcarg_get_routine_name() function

The mi_funcarg_get_routine_name() function returns the routine name for the companion UDR of a cost or selectivity function.

Syntax

mi_string *mi_funcarg_get_routine_name(funcarg_ptr)
   MI_FUNCARG *funcarg_ptr;
funcarg_ptr
A pointer to the MI_FUNCARG structure that describes the companion UDR.
Valid in client LIBMI application? Valid in user-defined routine?
No Yes

Usage

The mi_funcarg_get_routine_name() function returns the routine name from the MI_FUNCARG structure that funcarg_ptr references. The MI_FUNCARG structure describes an argument of a companion UDR to its cost or selectivity function. Use the mi_funcarg_get_routine_name() function in a cost or selectivity function to obtain the routine name for the companion UDR.

Return values

An mi_string pointer
A pointer to the routine name of the companion UDR.
NULL
The function was not successful.