Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
保存有关使用 DBTools 库截断事务日志所需的信息。
typedef struct a_truncate_log { unsigned short version; const char * connectparms; MSG_CALLBACK errorrtn; MSG_CALLBACK msgrtn; a_bit_field quiet : 1; a_bit_field server_backup : 1; char truncate_interrupted; } a_truncate_log;
连接到数据库所需的参数。它们采用如下所示的连接字符串形式:
"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"
有关连接参数的列表,请参见连接参数。