Export (0) Print
Expand All
ABS
ALL
AND
ANY
AVG
bit
COS
COT
DAY
EXP
GO
IN
LEN
LOG
MAX
MIN
NOT
OR
PI
SET
SIN
STR
SUM
TAN
USE
VAR
Expand Minimize

ROWCOUNT_BIG

SQL Server 2000

Returns the number of rows affected by the last statement executed. This function operates like @@ROWCOUNT, except that the return type of ROWCOUNT_BIG is bigint.

Syntax

ROWCOUNT_BIG ( )

Return Types

bigint

Remarks

Following a SELECT statement, this function returns the number of rows returned by the SELECT statement.

Following INSERT, UPDATE, or DELETE statements, this function returns the number of rows affected by the data modification statement.

Following statements that do not return rows, such as an IF statement, this function returns zero (0).

See Also

COUNT_BIG

Data Types

Show:
© 2014 Microsoft