Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

Returns the number of rows in data table.

number myDataTable.RowCount()

Remarks

Getting a specified table from the database, and finding how many rows are contained:

Example

Code Block
languagejs
var table = $Database.Get({
    Parameters : {
        TargetSchema : 'MySchema',
        TargetTable : 'MyTable'
    }
});
var num_of_rows = table.RowCount();