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

dam_isTargetRow

This method evaluates the row against the WHERE clause of the active SQL statement. It returns DAM_TRUE if the row matches the WHERE clause, and DAM_FALSE if it does not. If DAM_TRUE, then call dam_addRowToTable. If DAM_FALSE, then free the row by calling dam_freeRow.
DAM_ERROR is returned if the row handle is invalid or if all the required column values have not been set. In cases where the table had index(s) defined and the query contains restrictions on index columns, this method assumes that all rows provided by the IP satisfy the index conditions and does not perform further validation.
int dam_isTargetRow(
int64 hstmt,
int64 hRow)
 
Table 193: Parameters for dam_isTargetRow 
Parameter
Type
Description
IN
 
 
hstmt
int64
The statement handle
hRow
int64
The row handle
RETURN
 
 
 
Int
DAM_TRUE – The row matches the restrictions.
DAM_FALSE – The row does not match the restrictions.
DAM_ERROR – The row handle is invalid, or not all required column values have been set.

See also 

dam_addRowToTable
dam_freeRow