Contents Index Embedded SQL Library Functions db_init function

UltraLite Embedded SQL User's Guide
  Embedded SQL Library Functions

db_fini function


Prototype 

unsigned short db_fini( SQLCA * sqlca );

Description 

Frees resources used by the UltraLite runtime library.

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.

Palm Computing Platform 
Do not call db_fini on the Palm Computing Platform. The database must be kept open when you leave the application. Use ULPalmExit to save the state of the application between sessions instead of calling db_fini.
See also 

db_init function


Contents Index Embedded SQL Library Functions db_init function