ORA-01031: insufficient privileges inspite of having Update Privilege in 12cR2

(Doc ID 2345625.1)

Last updated on JANUARY 10, 2018

Applies to:

Oracle Database - Enterprise Edition - Version 12.2.0.1 and later
Information in this document applies to any platform.

Symptoms

sqlplus "/ as sysdba"

SQL*Plus: Release 12.2.0.1.0 Production on Fri Jan 5 03:13:54 2018

Copyright (c) 1982, 2016, Oracle. All rights reserved.

Connected to:
Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production

 

SQL> GRANT UPDATE ON USERA.TABA to USERB;

Grant succeeded.

 

SQL> conn USERB/TEST22TEST
Connected.


SQL> UPDATE USERA.TABA SET COLB=SYSDATE WHERE COLA=1;
UPDATE USERA.TABA SET COLB=SYSDATE WHERE COLA=1
*
ERROR at line 1:
ORA-01031: insufficient privileges

 

Changes

ORA-1031 insufficient privileges error occurs while doing an update in 12.2.0.1 inspite of having UPDATE privilege.
The same sql works fine in 11.2.0.4 and 12.1.0.2.

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms