Programming Guide |
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.
- · Name of the database connection name for the named cursor. If
cursor_name
is a null pointer or empty string, the name of the default connection is returned.
dm_cursor_connection
returns the name of the connection for the named cursor, or returns the name of the default connection ifcursor_name
is a null pointer or an empty string.
dm_cursor_consistent, dm_cursor_engine