Oracle 23.26PrivilegesLab-verified · 2026-11-29

ORA-00990: missing or invalid privilege

The GRANT or REVOKE names a privilege that does not exist in that form.

Oracle AI Database 26ai Free 23.26.3.0.0
ORA-00990: missing or invalid privilege

Jump to a cause

  1. 01Misspelled system privilege (for example CREATE VIEWS)
  2. 02A system privilege (SELECT ANY TABLE) used with ON object
  3. 03Typo in an object privilege list

Lab-verifiedReproduced and fixed on Oracle AI Database 26ai Free 23.26.3.0.0 · 2026-11-29 · container image gvenzl/oracle-free:23-slim

ORA-00990 is a syntax-level error in GRANT and REVOKE: the word you wrote is not a valid privilege at that position. The * under the statement points to the wrong privilege.

It is not a permission problem of the user running the GRANT (that is ORA-01031). Below are three causes verified on Oracle 23ai (26ai Free).

01Misspelled system privilege (for example CREATE VIEWS)

In GRANT CREATE SESSION, CREATE TABLE, CREATE VIEWS TO lab_b the plural CREATE VIEWS is not a privilege. The * points to it; the whole GRANT fails.

Reproducerun as system
GRANT CREATE SESSION, CREATE TABLE, CREATE VIEWS TO lab_b;
✕ ERROR
GRANT CREATE SESSION, CREATE TABLE, CREATE VIEWS TO lab_b
                                    *
ERROR at line 1:
ORA-00990: missing or invalid privilege
Help: https://docs.oracle.com/error-help/db/ora-00990/
Checkrun as system
COLUMN name FORMAT A30
SELECT name FROM system_privilege_map WHERE name LIKE 'CREATE%VIEW%' ORDER BY name;
OUTPUT
NAME
------------------------------
CREATE ANALYTIC VIEW
CREATE ANY ANALYTIC VIEW
CREATE ANY MATERIALIZED VIEW
CREATE ANY VIEW
CREATE MATERIALIZED VIEW
CREATE VIEW

6 rows selected.

SYSTEM_PRIVILEGE_MAP lists the exact names. With LIKE 'CREATE%VIEW%' it shows CREATE VIEW. Using that name, the GRANT succeeds.

After the fixrun as system
GRANT CREATE SESSION, CREATE TABLE, CREATE VIEW TO lab_b;
✓ SUCCESS
Grant succeeded.

02A system privilege (SELECT ANY TABLE) used with ON object

SELECT ANY TABLE is a system privilege for all tables, so it cannot have ON lab_a.orders. Writing both gives ORA-00990.

Setup
Setuprun as lab_a
CREATE TABLE orders (order_id NUMBER PRIMARY KEY, amount NUMBER);
INSERT INTO orders VALUES (1, 100);
COMMIT;
OUTPUT
Table created.


1 row created.


Commit complete.
Reproducerun as system
GRANT SELECT ANY TABLE ON lab_a.orders TO lab_b;
✕ ERROR
GRANT SELECT ANY TABLE ON lab_a.orders TO lab_b
      *
ERROR at line 1:
ORA-00990: missing or invalid privilege
Help: https://docs.oracle.com/error-help/db/ora-00990/
Fixrun as system
GRANT SELECT ON lab_a.orders TO lab_b;
OUTPUT
Grant succeeded.

For one table, grant the object privilege: GRANT SELECT ON lab_a.orders TO lab_b. After that lab_b can query lab_a.orders.

After the fixrun as lab_b
SELECT order_id, amount FROM lab_a.orders;
✓ SUCCESS
  ORDER_ID     AMOUNT
---------- ----------
         1        100

1 row selected.

03Typo in an object privilege list

GRANT SELECT, INSERTS ON customers TO lab_b has INSERTS instead of INSERT. The * points to it and SELECT is not granted either.

Setup
Setuprun as lab_a
CREATE TABLE customers (cust_id NUMBER PRIMARY KEY, name VARCHAR2(30));
OUTPUT
Table created.
Reproducerun as lab_a
GRANT SELECT, INSERTS ON customers TO lab_b;
✕ ERROR
GRANT SELECT, INSERTS ON customers TO lab_b
              *
ERROR at line 1:
ORA-00990: missing or invalid privilege
Help: https://docs.oracle.com/error-help/db/ora-00990/
Fixrun as lab_a
GRANT SELECT, INSERT ON customers TO lab_b;
OUTPUT
Grant succeeded.

Fix the name: GRANT SELECT, INSERT ON customers TO lab_b. lab_b can then insert into and select from lab_a.customers.

After the fixrun as lab_b
INSERT INTO lab_a.customers VALUES (1, 'Kim');
SELECT cust_id, name FROM lab_a.customers;
ROLLBACK;
✓ SUCCESS
1 row created.


   CUST_ID NAME
---------- ------------------------------
         1 Kim

1 row selected.


Rollback complete.

FAQ

What causes ORA-00990 missing or invalid privilege?

The privilege name in GRANT or REVOKE is wrong: a typo, a plural, or a system privilege used with ON. Check the position marked with *.

How do I see the valid system privilege names in Oracle?

Query SYSTEM_PRIVILEGE_MAP, for example SELECT name FROM system_privilege_map WHERE name LIKE 'CREATE%VIEW%'.

How do I grant SELECT on one table only?

Use the object privilege: GRANT SELECT ON owner.table TO user. SELECT ANY TABLE is for all tables and has no ON clause.

What is the difference between ORA-00990 and ORA-01031?

ORA-00990 means the privilege name is invalid. ORA-01031 means the name is valid but you lack the right to do it.

How we verify

Each scenario starts from fresh database users. A script runs the setup, confirms the exact error code, applies the fix and runs the statement again. The output shown is what the database printed, saved by the script.

lab_a and lab_b are ordinary users created for the test; system is the DBA account. Oracle AI Database 26ai Free Release 23.26.3.0.0 - Develop, Learn, and Run for Free 23.26.3.0.0