Programming Guide |
Determines the database engine of a cursor
#include <dmuproto.h>char *dm_cursor_engine(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 engine, specify as a null pointer or an empty string.
- · Name of the engine of the cursor's connection. If
cursor_name
is a null pointer or an empty string, the name of the default engine is returned.
dm_cursor_engine
returns the name of the database engine for the database connection of the named cursor, or returns the name of the default engine ifcursor_name
is a null pointer or an empty string.
dm_cursor_connection, dm_cursor_consistent, dm_init