Creates an SQL expression object representing the statement specified by the statement argument, using the syntax as defined for the Compute message flow processing node. This function returns a pointer to the SQL expression object, which is used as input to the functions that execute the statement, namely cniSqlExecute and cniSqlSelect. You can create multiple SQL expression objects in a single message flow processing node. Although you can create these objects at any time, you would typically create them when the message flow processing node is instantiated, within the implementation function cniCreateNodeContext.
CciSqlExpression* cniSqlCreateStatement( int* returnCode, CciNode* nodeObject, CciChar* dataSourceName, CciSqlTransaction transaction, CciChar* statement);
If successful, the address of the SQL expression object is returned. If an error occurs, zero (CCI_NULL_ADDR) is returned, and the returnCode parameter indicates the reason for the error.
Related concepts
User-defined message processing nodes
User-defined output nodes
Related tasks
Creating a message processing node in C
Related reference
C language node utility functions
cniCreateNodeContext
cniSqlDeleteStatement
cniSqlExecute
cniSqlSelect
Notices |
Trademarks |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
as08000_ |