informix
Informix DataBlade API Programmer's Manual
DataBlade API Function Descriptions

mi_func_handlesnulls()

The mi_func_handlesnulls() function determines whether the user-defined routine associated with a function descriptor can handle SQL NULL values.

Syntax

Usage

The mi_func_handlesnulls() function is one of the functions of the Fastpath interface. It determines whether the associated routine associated with the funcdesc_ptr function descriptor handles SQL NULL values as arguments. Routines that handle NULL arguments have been registered with the HANDLESNULLS routine modifier of the CREATE FUNCTION or CREATE PROCEDURE statement.

Return Values

1 indicates that the UDR that the funcdesc_ptr function descriptor identifies can handle NULL values.
2 indicates that the UDR that the funcdesc_ptr function descriptor identifies cannot handle NULL values.
MI_ERROR indicates that the function was not successful.

Related Topics

See the descriptions of the following functions: mi_cast_get(), mi_func_isvariant(), mi_routine_get(), mi_routine_get_by_typeid(), and mi_td_cast_get().


Informix DataBlade API Programmer's Manual, Version 9.2
Copyright © 1999, Informix Software, Inc. All rights reserved