Holds information needed to upgrade a database using the DBTools library.
typedef struct an_upgrade_db
Member name | Type | Description |
---|---|---|
connectparms |
const char * |
Parameters needed to connect to the database. They take the form of connection strings, such as the following: "UID=DBA;PWD=sql;DBF=demo.db". The database server would be started by the connection string START parameter. For example: "START=c:\SQLAny12\bin32\dbeng12.exe". A full example connection string including the START parameter: "UID=DBA;PWD=sql;DBF=demo.db;START=c:\SQLAny12\bin32\dbeng12.exe". |
errorrtn |
MSG_CALLBACK |
Address of an error message callback routine or NULL. |
jconnect |
a_bit_field |
Set TRUE to upgrade the database to include jConnect procedures. Set FALSE by dbupgrad -i option. |
msgrtn |
MSG_CALLBACK |
Address of an information message callback routine or NULL. |
quiet |
a_bit_field |
Set TRUE to operate without printing messages. Set TRUE by dbupgrad -q option. |
statusrtn |
MSG_CALLBACK |
Address of a status message callback routine or NULL. |
version |
unsigned short |
DBTools version number (DB_TOOLS_VERSION_NUMBER). |
Discuss this page in DocCommentXchange.
|
Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1 |