db.discard

function

Library: Database access (OMDB)
Import : omdb.xmd

Declaration
define external function db.discard
       value   db.statement  statement

Argument definitions

statement
is the compiled db.statement object.


Purpose

Use db.discard to explicitly discard a db.statement object and release any resources that it used.

Usage Notes

Discarding a statement that is

is allowed, and no exception is thrown.

A statement is automatically discarded when the OMX variable leaves its scope.