Skip to content

RowCount

Returns the number of rows in the data table.

1
myDataTable.RowCount():number

Returns

The number of rows in the data table.

Remarks

Getting the number of rows in a table:

1
2
3
4
5
6
7
var table = $Database.Get({
    Parameters : {
        TargetSchema : 'MySchema',
        TargetTable : 'MyTable'
    }
});
var num_of_rows = table.RowCount();

See Also