I am currently doing a query such as
"SELECT * FROM MyTable WHERE SomeValue=0"
There are cases where this does not exist. Is there a method for determining if the select actually found the data without checking that each returned value is empty?
the data without checking that each returned value is empty?
If there are no rows matching the criteria, then no result set or table would be returned. So, there is no need for this.
You can use the IF EXISTS (Select Query) to see if there were any results matching the criteria and perform your subsequent operations.
no results found for query in mysql...