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

AVEVA™ Plant SCADA

SQLDispose

  • Last UpdatedJul 18, 2023
  • 1 minute read

Disposes the DB connection object specified by its parameter. If there is an active SQL connection to a database, the SQL connection has to be closed before disposal.

This function can be called in the foreground or background.

Syntax

SQLDispose(hSQL)

hSQL:

The handle to the DB connection object, returned from either the SQLCreate() or SQLConnect() function. The handle identifies the DB connection object where details of the associated SQL connection are stored.

Return Value

0 – if success, otherwise an error code (For details call the SQLErrMsg() function).

SQLCreate, SQLOpen, SQLClose, SQLDispose, SQLConnect, SQLDisconnect, SQLInfo

Example

See SQLCreate.

See Also

SQL Functions

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