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

SQL Anywhere 10.0.1 » SQL Anywhere Server - Programming » SQL Anywhere Embedded SQL » Library function reference

db_find_engine function Next Page

db_fini function


int db_fini( SQLCA * sqlca );


This function frees resources used by the database interface or DLL. You must not make any other library calls or execute any embedded SQL commands after db_fini is called. If an error occurs during processing, the error code is set in SQLCA and the function returns 0. If there are no errors, a non-zero value is returned.

You need to call db_fini once for each SQLCA being used.


Failure to call db_fini for each db_init on NetWare can cause the database server to fail and the NetWare file server to fail.

For information about using db_init in UltraLite applications, see db_fini function.