Programming Guide



dm_cursor_connection

Gets the connection name for a database cursor

#include <dmuproto.h>
char *dm_cursor_connection(char *cursor_name);

cursor_name
Specifies a cursor name. For a named cursor, use the name specified in a DBMS DECLARE CURSOR command. To refer to the default connection, specify as a null pointer or an empty string.

Returns

Description

dm_cursor_connection returns the name of the connection for the named cursor, or returns the name of the default connection if cursor_name is a null pointer or an empty string.

See Also

dm_cursor_consistent, dm_cursor_engine