• Declare a cursor and use the fetch next statement.

    Matthias