free()

variable.Free()

This method is used with a variable of the PREPARED data type. It frees the memory allocated to the prepared statement and makes it possible to use this PREPARED variable to prepare another SQL statement.

Usage

This method accepts no parameters and returns sqlca.sqlcode. To be able to free a variable, it should be previously initialized using the Prepare() method.

An example method call:

CALL prep_v.Free()