cniSqlDeleteStatement

Deletes an SQL statement previously created using the cniSqlCreateStatement utility function, as defined by the sqlExpression parameter.

Syntax

void cniSqlDeleteStatement(
  int*               returnCode,
  CciSqlExpression*  sqlExpression);

Parameters

returnCode
The return code from the function (output).
Possible return codes are:
  • CCI_SUCCESS
  • CCI_EXCEPTION
  • CC_INV_SQL_EXPR_OBJECT
sqlExpression
The SQL expression object to be deleted, as returned by the cniSqlCreateStatement utility function (input).

Return values

None. If an error occurs, the returnCode parameter indicates the reason for the error.