Hi I need to access a number of rows, one at a time to perform an operation on each. Under what conditions would I consider using a loop command, rather than (or with) a cursor? Bob -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://postgis.refractions.net/pipermail/postgis-users/attachments/20090720/2b77a658/attachment.html>