I am using FETCH from the Database Toolbox and including the RowLimit argument so that only a certain number of records are returned, as follows:
cur = fetch(cur,5);
However, I would like to be able to first check the cursor object to see if all the records have been returned. For example, I might place FETCH within a WHILE loop to be sure that I retrieve all the records. I need to know how to condition this loop.
Best Answer