How to resolve ORA-01711 Error Message in Oracle database

Learn the cause and how to get to the bottom of the ORA-01711 error message in Oracle.

Description

When you come upon an ORA-01711 error, the following error message will appear:

ORA-01711: duplicate privilege listed

Cause

You tried to execute a GRANT or REVOKE statement and listed the equal privilege more than once.

Resolution

The option(s) to resolve this Oracle error are:

Option #1

Remove the reproduction privilege from the provide or revoke announcement and re-execute the command.

For example, if you tried to execute the following GRANT:

GRANT SELECT, SELECT ON suppliers TO smithj;

You would receive the following error message:

You may want to right this error with the aid of getting rid of the 2nd instance of select, as follows:

GRANT SELECT ON suppliers TO smithj;