CURRVAL returns the most recently generated sequence number for the current session. When a sequence hits its MAXVALUE, its maximum limit can be increased using the ALTER SEQUENCE statement. DELETE is used for rows, not dropping database objects like sequences.