Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » UltraLite - C and C++ Programming » API Reference » Embedded SQL API reference


db_start_database function

Starts a database if the database is not already running.

unsigned int db_start_database(
SQLCA * sqlca,
char * parms 

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:

  • 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.

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

See also