Loop through all of the rows until no more meet the WHERE criteria.
do while( not eod );