db_fini function

Frees resources used by the UltraLite runtime library.

Syntax
unsigned short db_fini( 
SQLCA * sqlca 
);
Returns
  • 0 if an error occurs during processing. The error code is set in SQLCA.

  • Non-zero if there are no errors.

Remarks

You must not make any other UltraLite library call or execute any embedded SQL command after db_fini is called.

Call db_fini once for each SQLCA being used.

See also