Cause
The function USERENV('COMMITSCN') is only allowed as a top-level expression in the VALUES clause of an INSERT statement, and on the right-hand side of an assignment in an UPDATE statement.
Action
Correct the use of the function and retry.
Error Message
USERENV('COMMITSCN') is not allowed here.
The function USERENV('COMMITSCN') is only allowed as a top-level expression in the VALUES clause of an INSERT statement, and on the right-hand side of an assignment in an UPDATE statement.
Correct the use of the function and retry.