Jaa


Rows Property

This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.

The Rows property returns the number of rows in a referenced query result set or the number of rows existing in a Microsoft SQL Server table.

Syntax

object
.Rows

Parts

  • object
    An expression that evaluates to an object in the Applies To list

Data Type

Long

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetRows(LPLONG pRetVal);

Remarks

For the QueryResults object, the Rows property specifies an upper limit for a row argument used when extracting a value from a result set.

Applies To:

QueryResults Object

Table Object