GetRowCount()

Count the number of rows in a table.

Parameters

Table_Name

SQL_VARCHAR(256)

The name of the table that you want to count the rows in.

Returns

If the procedure fails, it throws an exception.

Otherwise, the procedure returns a single-cell table:

Number_Of_Rows

SQL_INTEGER

The number of rows in the specified table.