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

dam_describeScalarEx

This method is used to retrieve the description of the scalar function. When the IP-registered scalar function is called, it can use this API call to get scalar function details. This is useful when the IP registers the same scalar function to evaluate multiple scalar function names or when the scalar function supports a variable number of arguments.
int dam_describeScalarEx(
int64 hValExpList
StringBuilder pName,
out int piNoOfActualParams,
out int piResXoType,
out int piLength,
out int piPrecision,
out int piScale)
 
Table 117: Parameters for dam_describeScalarEx
Parameter
Type
Description
IN
 
 
hValExpList
int64
The handle of the scalar function argument list
Out
 
 
pName
StringBuilder
Scalar function name
piNoOfActualParams
int
The number of arguments passed to the scalar function
piResXoType
int
Scalar function result value type
piLength
int
Scalar function result value length
piPrecision
int
Scalar function result value precision
piScale
int
Scalar function result value scale
Return
 
 
 
int
DAM_SUCCESS – on success
DAM_FAILURE – on failure

See also 

dam_describeScalarEx2