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

dam_evaluateColCond

This method evaluates a search or restriction condition for the IP. Use it in cases when you have specified support for a condition type but cannot support certain columns.
int dam_evaluateColCond(
int64 hstmt,
int64 hcond,
int iXoType,
object colVal,
long lColValLen);
 
Table 123: Parameters for dam_evaluateColCond 
Parameter
Type
Description
IN
 
 
hstmt
int64
The statement handle
hcond
int64
The condition handle
iXoType
int
The type of the data. The data can be supplied in a format that corresponds to the column's definition in the schema or in any other format for which conversion is supported.
colVal
object
The .NET object containing the value of type iXoType. See Table 34.
lColValLen
int
The length of the data
XO_NULL_DATA – indicates a null value
For character data type, either the number of characters or XO_NTS for the entire string.
For binary, the length of the data
RETURN
 
 
 
int
1 – condition evaluates to true
0 – condition evaluates to false