skip to main content
OpenAccess SDK SQL Engine core methods for .NET : Methods for .NET reference : dam_getValueTypeOfExp
 

dam_getValueTypeOfExp

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

See also 

dam_getFirstValExp
dam_getNextValExp