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

AVEVA™ Plant SCADA

SQLRowCount

  • Last UpdatedJul 18, 2023
  • 1 minute read

Gets the number of rows in the recordset.

This function can be called in the foreground or background.

Syntax

SQLRowCount(hGeneral)

hGeneral:

The handle either to:

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

Or:

The recordset.

Return Value

The number of rows in the given recordset for disconnected recordsets. For the connected recordset, the function returns always -1.

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

Example

See SQLCreate.

See Also

SQL Functions

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