Oracle Error ORA-02287: sequence number not allowed here

Oracle Error Message

ORA-02287: sequence number not allowed here

Reason for the Error

The specified sequence number (CURRVAL or NEXTVAL) is inappropriate here in the statement.

Solution

Remove the sequence number.