This documentation is archived and is not being maintained.

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.


object
.Rows

object

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

Long

Read-only

HRESULT GetRows(LPLONG pRetVal);

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

Show: