dbStatementDiscard

function

Library: Database access (OMDB legacy)
Include: omdb.xin

Declaration
define external function dbStatementDiscard
       value   dbStatement  statement

Argument definitions

statement
is the compiled dbStatement object.


Purpose

Use dbStatementDiscard to explicitly discard a dbStatement object and release any resources that it used.

Requirements

You must include the following line at the beginning of your OmniMark program:

  include "omdb.xin"

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.