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

dam_describeScalarEx2

This method is used to retrieve the description of the scalar function, including the qualifier name. When the scalar function that is registered with a qualifier in the IP 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_describeScalarEx2(
int64 hValExpList
StringBuilder pQualifierName,
StringBuilder pName,
out int piNoOfActualParams,
out int piResXoType,
out int piLength,
out int piPrecision,
out int piScale)
 
Table 118: Parameters for dam_describeScalarEx2
Parameter
Type
Description
IN
 
 
hValExpList
int64
The handle of the scalar function argument list
Out
 
 
pQualifierName
StringBuilder
Function qualifier name
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_describeScalarEx