Use this function to run an SQL statement that you have created by using the cniSqlCreateStatement utility function, as defined by the sqlExpression parameter. Use this function when the statement does not return data, for example, when a PASSTHRU function is used.
void cniSqlExecute(
int* returnCode,
CciSqlExpression* sqlExpression,
CciMessage* localEnvironment,
CciMessage* exceptionList,
CciMessage* message);
For compatibility with earlier versions, you can refer to this parameter as destinationList.
None. If an error occurs, the returnCode parameter indicates the reason for the error.