다른 db의 테이블로 insert 1 2,221

by 돛새치 ORA-02069 [2009.10.29 23:08:45]


다른 db의 테이블인 emp2 테이블의 insert , update, delete를 가능하게 dba에게 요청하여

select  * from emp2@db2 ;

로 데이터 조회가능하고 insert, delete 가능하게 되었습니다.

그런데 현재 제가 쓰고있는 db1에서,
begin
  insert into emp2@db2(column1,column2,column3) 
selec column1,column2,column3
from emp1(db1의 테이블);
end;

라는 프로시저를 생성해서 스케줄을 걸었는데

ORA-02069: global_names parameter must be set to TRUE for this operation

라는 에러가 발생하네요...


에러를 찾아보긴 했는데 시스템쪽은 전혀 몰라서 난감하네요.
도움을 좀 부탁드립니다.

by 타락천사 [2009.10.30 06:21:45]
In this scenario, you need the following to have the insert statement working :

1. Global_names set to true.
2. Database link to the local database has to be exist on the remote database.