DbiQFree

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

DbiQFree

Return to chapter overview

C syntax

DBIResult DBIFN DbiQFree (phStmt);

Delphi syntax

function DbiQFree (var hStmt: hDBIStmt): DBIResult stdcall;

Description

DbiQFree frees the resources associated with a previously allocated query identified by the supplied statement handle.

Parameters

phStmt                Type: phDBIStmt                (Input)
Pointer to the statement handle.

Usage

This function is used to release the resources acquired during the query execution process. If cursors are associated with an outstanding result set produced by execution of the statement, the cursors remain valid and the dependent statement resources are not released until the last cursor has been closed or the result set is read to completion, whichever happens first.

DbiResult

Meaning

DBIERR_NONE

The query's resources were released successfully.

See also

DbiQAlloc, DbiQExec, DbiQExecDirect, DbiQPrepare