Database Vuser Functions (LRD) > Alphabetical List of Functions > lrd_ora8_save_last_rowid

lrd_ora8_save_last_rowid

Example: lrd_ora8_save_last_rowid Oracle 8.0 Functions

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

LRDRET lrd_ora8_save_last_rowid( void *mpvLRDDBIHandleStmt, 
const char *mpszParamName );
mpvLRDDBIHandleStmt A 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.

Parameterization

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