dam_getValueTypeOfExp
- Last Updated: May 12, 2026
- 1 minute read
- OpenAccess SDK
- Version 9.0
- Documentation
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)
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 SQL Engine Data Types and the Corresponding C Types. |