Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

SQLQueryDispose

  • Last UpdatedJul 18, 2023
  • 1 minute read

The function disposes the query which handle is given as the argument.

Queries allocated by SQLQueryCreate should be disposed by SQLQueryDispose when no longer necessary. Each DB connection object has one default query which is created and disposed automatically. The default query need not be disposed by the function SQLQueryDispose.

This function can be called in the foreground or background.

Syntax

SQLQueryDispose(hQuery)

hQuery:

The handle to the query, returned from SQLQueryCreate() function.

Return Value

0 (zero) if successful, otherwise an error code is returned. (For details of the 307 error code, call the SQLErrMsg() function).

SQLSet, SQLAppend, SQLExec, SQLGetRecordset, SQLCall, SQLGetScalar, SQLEnd, SQLQueryCreate, SQLQueryDispose, SQLNumChange, SQLNoFields, SQLNumFields, SQLFieldInfo, SQLGetField, SQLIsNullField, SQLRowCount, SQLNext, SQLPrev

See Also

SQL Functions

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in