Master inserting sequence values using NEXTVAL and CURRVAL. Learn how to safely retrieve the next number and the current session value.