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

dam_clearError

This method allows the IP to clear any existing errors. Use this method in special cases when you want the IP to remove errors added by the OpenAccess SDK SQL Engine. For example, the OpenAccess SDK SQL Engine adds an error message when the TableRowset limit is exceeded before it returns the DAM_ABORT_OPERATION error from dam_addRowToTable.
You can implement the IP to remove existing errors using dam_clearError, and add its own custom message using dam_addError.
void dam_clearError(
int64 hdbc,
int64 hstmt)
 
Table 99: Parameters for dam_clearError 
Parameter
Type
Description
IN
 
 
hdbc
int64
Connection handle
hstmt
int64
The statement handle

See also 

dam_addRowToTable
dam_addError