nextval

Then I use the sequence to generate a number. The sequence (or Oracle, for that matter) ensures that no other session or other call to nextval within the same session gets the
same number from the sequence: