Database Error Messages

Release
toggle
  • 23ai
  • 21c
  • 19c
Updated
Jun 24, 2024

ORA-01939

invalid option specified for WITH clause in the GRANT statement

Cause

An invalid option was specified in the WITH clause. When granting SYSTEM privileges and ROLES, the WITH clause can only have either ADMIN OPTION or DELEGATE OPTION.


Action

If granting a system privilege, specify ADMIN OPTION in the WITH clause. If granting a role, specify either ADMIN OPTION or DELEGATE OPTION in the WITH clause.