We need a DB cursor.