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:\SQLAny16\bin32\dbsrv16.exe". A full example connection string including the START parameter: "UID=DBA;PWD=sql;DBF=demo.db;START=c:\SQLAny16\bin32\dbsrv16.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. |
restart |
a_bit_field |
Set TRUE to restart the database after the upgrade. Set FALSE by the dbupgrad -nrs option. |
statusrtn |
MSG_CALLBACK |
Address of a status message callback routine or NULL. |
sys_proc_definer |
unsigned short |
Assign 0 to upgrade the database to have the pre-16.0 SQL SECURITY model for legacy system stored procedures when upgrading from pre-16.0 releases. When upgrading from a version 16.0 or later database retain the current SQL SECURITY model (same as not specifying -pd). Assign 1 to upgrade the database to have the pre-16.0 SQL SECURITY model for legacy system stored procedures (same as -pd y) Assign 2 to upgrade the database to have the pre-16.0 SQL SECURITY model for legacy system stored procedures (same as -pd n). |
version |
unsigned short |
DBTools version number (DB_TOOLS_VERSION_NUMBER). |
![]() |
Discuter à propos de cette page dans DocCommentXchange.
|
Copyright © 2013, SAP AG ou société affiliée SAP - SAP Sybase SQL Anywhere 16.0 |