Check if a Table in Data Source is empty

To check whether a table in data source is empty or not, use IsEmpty


This is equivalent to CountRows(tableName)=0

We cannot use CountRows() directly on data source as it generally gives Delegation warning (Depends on the Connector)

If IsEmpty(tableName) returns true, this indicates that your Data Source table has no rows.