Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (中文) » SQL Anywhere 服务器 - 编程 » SQL Anywhere 数据访问 API » SQL Anywhere 嵌入式 SQL » 库函数参考

 

db_fini 函数

原型
int db_fini( SQLCA * sqlca );
说明

此函数释放由数据库接口或 DLL 使用的资源。在调用 db_fini 之后不能进行任何其它库调用或执行任何嵌入式 SQL 语句。如果在处理过程中出现错误,则在 SQLCA 中设置错误代码且函数返回 0。如果没有错误,则返回非零值。

需要为每个使用的 SQLCA 调用一次 db_fini。

有关在 UltraLite 应用程序中使用 db_init 的信息,请参见db_fini 函数