lrd_save_last_rowid

Example: lrd_save_last_rowidCorrelating Statements Functions

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

LRDRET lrd_save_last_rowid( LRD_CURSOR *mptCursor, char *mpszParamName );

mptCursor A pointer to an LRD_CURSOR structure.
mpszParamName A parameter name using alpha-numerical characters, enclosed by quotation marks.

The lrd_save_last_rowid function saves the rowid of the last row of the current result set, to a parameter. The last rowid value can be used at a later point in the script.

Note that lrd_fetch should be called prior to lrd_save_last_rowid.

Return Values

See LRD Return Values.

Parameterization

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