Error 'ORA-01749: You may not GRANT/REVOKE privileges to/from yourself' When Executing the "manual_script_before_upgrade.sql" Script During Upgrade of an Oracle P6 Database
(Doc ID 2303310.1)
Last updated on DECEMBER 03, 2019
Applies to:Primavera P6 Professional Project Management - Version 220.127.116.11 and later
Primavera P6 Enterprise Project Portfolio Management - Version 8.0 and later
Information in this document applies to any platform.
When attempting to execute the manual_script_before_upgrade.sql script before upgrading an Oracle database, the following error occurs:
GRANT SELECT ON sys.DBA_VIEWS TO SYSTEM with grant option
ORA-01749: you may not GRANT/REVOKE privileges to/from yourself
GRANT SELECT ON sys.gv_$TRANSACTION TO SYSTEM with grant option
ORA-01031: insufficient privileges
The issue can be reproduced at will with the following steps:
- Login to SQL*Plus as the system user.
- Execute the manual_script_before_upgrade.sql script.
- View the reported errors.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!