skip to main content
OpenAccess SDK SQL Engine Core Functions API : Function Reference : dam_getValueTypeOfExp
 

dam_getValueTypeOfExp

This function gets the value type of the argument passed into a scalar function implemented by the IP.
Use the function dam_getFirstValExp and dam_getNextValExp to step through the argument list. This function is used when the output type of the scalar function is to be determined based on one of the arguments' types.
int dam_getValueTypeOfExp(
XM_Tree * pMemTree,
DAM_HVALEXP_LIST hValExpList,
DAM_HVALEXP hValExp)
Table 163. Parameters for dam_getValueTypeOfExp
Parameter
Type
Description
IN
pMemTree
XM_Tree *
The memory tree to use for temporary storage.
hValExpList
DAM_HVALEXP_LIST
The list of arguments as passed into the scalar function.
hValExp
DAM_HVALEXP
The argument for which you want to retrieve data.
RETURN
int
The data type of value expression.
See Table 33.

See also

*dam_getFirstValExp
*dam_getNextValExp