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

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

db_start_database function Next Page

db_stop_database function


Stop a database.

Syntax

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

"DBF=c:\\db\\mydatabase.db"
Returns
Remarks

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