Share this page

# lrd_ora8_print

Prints rows fetched by an Oracle autofetch operation.

    LRDRET lrd_ora8_print(void *mpvLRDDBIHandleStmt, LRD_PRINT_ROW_TYPEDEF mpfjOra8PrintRow );

mpvLRDDBIHandleStmt | A non-NULL pointer to an LRDDBI Stmt Handle.
mpfjOra8PrintRow | A pointer to a function that prints each fetched row.

lrd_ora8_print uses the function pointed to by mpfjOra8PrintRow to print the rows returned by an autofetch. The mpfjOra8PrintRow callback function is generated automatically by VuGen during test recording.

In an autofetch, the data is fetched by the lrd_ora8_exec command, so the combined fetch and print of lrd_ora8_fetch is not applicable.

## Return Values

See LRD Return Values.

## Parameterization

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

## Example

The following example uses lrd_ora8_print to output the results of an lrd_ora8_exec call, using function, PrintRow1. PrintRow1 is a callback function generated automatically by VuGen during test recording.

    lrd_ora8_handle_alloc(OraEnv1, STMT, &OraStm1, 0);

    lrd_ora8_stmt(OraStm1, "select ename from scott.emp", 1, 0, 0);

    lrd_ora8_bind_col(OraStm1, &OraDef1, 1, &ENAME_D1, 0, 0);

    lrd_ora8_exec(OraSvc2, OraStm1, 15, 0, &uliRowsProcessed, 0, 0, 0, 0, 0);

    lrd_ora8_print(OraStm1, PrintRow1);

    lrd_handle_free(&OraStm1, 0);

Tips to improve your search results... VuGen Function Reference Version 26.1 Function Reference 26.1 All View Local Help Center View Online Help Center Version: