The mi_qual_constant_typeid() accessor function

The mi_qual_constant_typeid() function returns the data type of the constant.

Syntax

MI_TYPEID* mi_qual_constant_typeid(MI_AM_QUAL_DESC *qualDesc);
qualDesc
Points to the qualification descriptor.

Usage

Use the mi_qual_constant_typeid() function to determine whether the data type of the constant is the same as the data type of the column. If the data types of the constant and the column are not compatible, cast the constant to a compatible data type.

Return values

A pointer to an MI_TYPEID object that contains information about the data type of the constant.