Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
unsigned int db_start_database( SQLCA * sqlca, char * parms );
A pointer to a SQLCA structure.
A null-terminated string containing a semicolon-delimited list of parameter settings, each of the form KEYWORD=value. For example:
Non-zero if successful; 0 otherwise.
The database is started on an existing server, if possible. Otherwise, a new server is started.
If the database was already running or was successfully started, the return value is true (non-zero) and SQLCODE is set to
0. Error information is returned in the SQLCA.
If a user ID and password are supplied in the parameters, they are ignored.
The privilege required to start and stop a database is set on the server command line using the -gd option.