ORA-1031 : CREATE DATABASE LINK Fails after ALTER SESSION SET CURRENT_SCHEMA
(Doc ID 309809.1)
Last updated on AUGUST 04, 2018
Applies to:Oracle Server - Enterprise Edition - Version 188.8.131.52 to 184.108.40.206 [Release 9.2 to 11.2]
Information in this document applies to any platform.
Checked for relevance on 12-Sep-2012
Though USER1 has the CREATE DATABASE LINK system privilege, when executing the CREATE DATABASE LINK after setting the current schema to USERS, it fails with ORA-1031 error:
SQL> alter session set current_schema=user1;
create database link test connect to system identified by manager
ERROR at line 1:
ORA-01031: insufficient privileges
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document