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_stop_database function

Stop a database.

unsigned int db_stop_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 database file name is needed. For example,

  • TRUE if there were no errors.

This function is not commonly needed, as UltraLite automatically stops the database when all connections are closed. However, this function may be useful when developing applications that combine embedded SQL and the C++ component.

This function does not stop a database that has existing connections.

See also