Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
保存有关使用 DBTools 库校验数据库所需的信息。
typedef struct a_validate_db { unsigned short version; const char * connectparms; p_name tables; MSG_CALLBACK errorrtn; MSG_CALLBACK msgrtn; MSG_CALLBACK statusrtn; a_bit_field quiet : 1; a_bit_field index : 1; a_validate_type type; } a_validate_db;
连接到数据库所需的参数。它们采用如下所示的连接字符串形式:
"UID=DBA;PWD=sql;DBF=samples-dir\demo.db"
数据库服务器将由连接字符串的 START 参数启动。例如:
"START=c:\SQLAny12\bin32\dbeng12.exe"
一个包括 START 参数的完整连接字符串示例:
"UID=DBA;PWD=sql;DBF=samples-dir\demo.db;START=c:\SQLAny12\bin32\dbeng12.exe"
有关连接参数的列表,请参见连接参数。