DB_CloseCursor Function

Action

Closes the cursor and discards all pending results.

Include file

DBAPI.bdh

Syntax

DB_CloseCursor(in cCursor: cursor): number;

Return value

SQL return code

Parameter Description
cCursor Cursor to be closed

Example

rCode := DB_CloseCursor(c1);

Sample scripts

DBApi01.bdf