Satya is correct because the syntax does not allow you to create a link to a database in another schema. BUT... CREATE DATABASE LINK
Temporary solution
IS , anotheruser CREATE DATABASE LINK, , , CREATE ANY PROCEDURE.
:
create procedure anotheruser."tmp_doit_200906121431"
is
begin
execute immediate '
create database link remote_db_link
connect to remote_user
identified by remote_password
using ''remote_db'' ';
end;
/
begin
anotheruser."tmp_doit_200906121431";
end;
/
drop procedure anotheruser."tmp_doit_200906121431"
/
. -, anotherusers; CREATE DATABASE LINK, .
, , CREATE DATABASE LINK anotheruser.
, , , - . ( ), "tmp", "", yyyymmddhh24miss . ( DBA_OBJECTS, , _ .)
"" . : , , .)