DB_FinishSql Function

Action

Removes the results of the SQL statement and releases the associated system resource, which means the statement handle.

Syntax

DB_FinishSql (hstmnt)
Variable Description
hstmnt

The returned handle to the executed SQL statement. This is an input parameter for other DBTester functions, for example DB_FetchNext. HSQL.

Notes

  • After executing DB_FinishSql, you can no longer execute a fetch function for that SQL statement as the statement handle no longer exists.

  • You can close all statements for a connection with the DB_Disconnect function.

Example

DB_FinishSql (hstmnt)