Example: lrd_ora8_save_last_rowidOracle 8.0 Functions

Saves a rowid value to a parameter. (Oracle only)

LRDRET lrd_ora8_save_last_rowid( void *mpvLRDDBIHandleStmt, 
const char *mpszParamName );
mpvLRDDBIHandleStmtA non-NULL pointer to an LRDDBI Statement Handle.
mpszParamName A parameter name using alpha-numerical characters, enclosed by quotation marks.

The lrd_ora8_save_last_rowid function saves the rowid of the last row of the current result set to a parameter.

Note that lrd_ora8_save_last_rowid can be used after a SELECT FOR UPDATE query, but not after a regular SELECT query.

Return Values

See LRD Return Values.


You cannot use standard parameterization for any arguments in this function.