People: To follow up further, what Alessandro is talking about is known as a "keyset cursor". Sybase and SQL Server used to support them; I beleive that they were strictly read-only and had weird issues with record visibility. -- --Josh Josh Berkus Aglio Database Solutions San Francisco