db_start_database function

Starts a database if the database is not already running.

Syntax
unsigned int db_start_database(
SQLCA * sqlca,
char * parms 
);
Parameters

sqlca   A pointer to a SQLCA structure.

parms   A null-terminated string containing a semicolon-delimited list of parameter settings, each of the form KEYWORD=value. Typically, only a file name is required. For example:

"DBF=c:\\db\\mydatabase.db"
Returns
  • True if the database was already running or was successfully started. In this case, SQLCODE is set to 0.

  • Error information is also returned in the SQLCA.

Remarks

Required when developing applications that combine embedded SQL and the C++ component.

See also