gertvangaever
Technical User
Hi!
I have database A and database B
I want to update table 'tsfilled' from user 'rapport' in database B, via database A.
So I created a dblink in database A.
It's a public database link, logging in to user 'rapport' ('fixed user') in database B.
When I log in as sys, and I thry the following:
desc tsfilled@ora_rapport, it works!
So that means tsfilled is fully accesible (I would think)
When I try an update, however I get an error!
SQL> insert into tsfilled@ora_rapport
2 (datum, ts_name, ts_size)
3 select SYSDATE, tablespace_name, sum(bytes)
4 from dba_data_files
5 group by tablespace_name;
(datum, ts_name, ts_size)
*
ERROR at line 2:
ORA-02070: database ORA_RAPPORT does not support operator USERENV in this context
I can't find much information about ORA-02070, so can any1 help me please?
Tnx
Gert
I have database A and database B
I want to update table 'tsfilled' from user 'rapport' in database B, via database A.
So I created a dblink in database A.
It's a public database link, logging in to user 'rapport' ('fixed user') in database B.
When I log in as sys, and I thry the following:
desc tsfilled@ora_rapport, it works!
So that means tsfilled is fully accesible (I would think)
When I try an update, however I get an error!
SQL> insert into tsfilled@ora_rapport
2 (datum, ts_name, ts_size)
3 select SYSDATE, tablespace_name, sum(bytes)
4 from dba_data_files
5 group by tablespace_name;
(datum, ts_name, ts_size)
*
ERROR at line 2:
ORA-02070: database ORA_RAPPORT does not support operator USERENV in this context
I can't find much information about ORA-02070, so can any1 help me please?
Tnx
Gert