|
Destroys a AlpSALStatement. Should always be called after you are done using a AlpSALStatement.
|
|
Executes a AlpSALStatement that has been initalized with alp_sal_statement_initialize, and bound to any host parameters required by its SQL statement using AlpSALStatementSet commands.
|
|
Retrieves blob value from column of current result in stmt.
|
|
Retrieves float value from column of current result in stmt.
|
|
Returns the AlpSALHandle bound to the statement, or NULL, if the stmt handle is invalid |
|
Retrieves integer value from column of current result in stmt.
|
|
Retrieves 64 bit integer value from column of current result in stmt.
|
|
Retrieves text value from column of current result in stmt.
|
|
Mallocs and initializes a AlpSALStatement pointed to by the AlpSALStatement handle parameter. The AlpSALStatement is only valid for the lifetime of the SALHandle. Once a SALHandle is closed or destroyed, or the AlpSALStatement is no longer, needed, it should be destroyed with AlpSALStatementDestroy. After initializing a AlpSALStatement, the user should call the appropriate AlpSALStatementSet API's, in order, once for each host variable that needs to be bound to a variable in the given sql string (ie, variables of the form "FieldName = ?").
|
|
Checks for NULL value in column of current result in stmt.
|
|
Given a prepared statement containing a single SELECT statement, any substitution variable it contains bound to the appropriate host variables, this routine will advance to the next result matching the query. Although this function will execute any statement without producing an error, it is important for the caller to only use this function to advance to the next result in a selection statement to ensure that notifications are handled properly
|
|
Resets a SQL query in a AlpSALStatement so it's ready to be re-executed. Any variables set in the statement retain their values, but SALStatementNextResult will return the first result in the query again.
|
|
Given a AlpSALStatement and a host blob variable, we bind the variable to the statement.
|
|
Given a AlpSALStatement and a host float variable, we bind the variable to the statement.
|
|
Given a AlpSALStatement and a host integer variable, we bind the variable to the statement.
|
|
Given a AlpSALStatement and a host integer variable, we bind the variable to the statement.
|
|
Given a AlpSALStatement and a host text variable, we bind the variable to the statement.
|