| http://www.w3.org/ns/prov#value | - It may be that it is one of those cases where one has to have a while loop, but in most cases that is not the case - one can rewrite it using a set-based query.Even if you post the while loop, I may not be able to propose an alternative, because one would need the table schema and an understanding of the business logic to be able to rewrite it.
|