Retrieve a sequence number using a cursor

Original text of this message