an_upgrade_db structure
Holds information needed to upgrade a database using the DBTools library.
Syntax
typedef struct
an_upgrade_db
connectparms const char *
Parameters needed to connect to the database.
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.
msgrtn MSG_CALLBACK
Address of an information message callback routine or NULL.
quiet a_bit_field
Set TRUE to operate without printing messages.
restart a_bit_field
Set TRUE to restart the database after the upgrade.
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.
version unsigned short
DBTools version number (DB_TOOLS_VERSION_NUMBER).
Parent topic:
Database Tools C API Reference
Created May 23, 2013. Send feedback on this help topic to Technical Publications:
pubs@sybase.com