Share this page

# lrd_close_all_cursors

Closes all cursors for a connection.

    LRDRET lrd_close_all_cursors( LRD_CONNECTION *mptConnection);

mptConnection | A pointer to an LRD_CONNECTION structure.

The lrd_close_all_cursors function closes all open cursors for the specified connection.

For more details refer to the Function Header File lrd.h in the include directory.

## Return Values

See LRD Return Values.

## Parameterization

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

## Example

In the following example, lrd_close_all_cursors closes all cursors in the login1 connection.

    lrd_stmt(Csr1, "drop table employees", -1, 0 /*Non deferred*/, 2 /*Ora V7*/, 0);
    lrd_close_all_cursors(Con1);
    lrd_close_connection(&Con1, 0, 0);

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