dbchange

Description

Determine whether a command batch has changed the current database.

Syntax

char *dbchange(dbproc)
 
DBPROCESS    *dbproc;

Parameters

dbproc

A pointer to the DBPROCESS structure that provides the connection for a particular front-end/server process. It contains all the information that DB-Library uses to manage communications and data between the front end and server.

Returns

A pointer to the null-terminated name of the new database, if any. If the database has not changed, NULL will be returned.

Usage

See also

dbname, dbresults, dbsqlexec, dbsqlsend, dbuse