ニュース

You want tables [0].rows.count - test for 0 rows. You could also add the row in the SQL query. SELECT MAX (TimeStamp) TimeStamp, COUNT (*) RowCount FROM ... And check RowCount first. Second suggestion ...