Holds information needed for database validation using the DBTools library.
Syntaxtypedef struct a_validate_db
Members| 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. |
| index |
a_bit_field |
Set TRUE to validate indexes. The tables field points to a list of indexes. Set TRUE by dbvalid -i option. Set FALSE by dbvalid -t 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 dbvalid -q option. |
| statusrtn |
MSG_CALLBACK |
Address of a status message callback routine or NULL. |
| tables |
p_name |
Pointer to a linked list of table names or index names (when the index field is set TRUE). This is set by the dbvalid object-name-list argument. |
| type |
char |
The type of validation to perform. One of VALIDATE_NORMAL, VALIDATE_EXPRESS, VALIDATE_CHECKSUM, etc. See Validation enumeration. |
| version |
unsigned short |
DBTools version number (DB_TOOLS_VERSION_NUMBER). |
See also![]() |
Discuss this page in DocCommentXchange.
|
Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1 |
