using sequence on db link
804215Feb 2 2012 — edited Feb 2 2012Hi All,
version - Oracle Database 10g Enterprise Edition Release 10.2.0.3.0
I have created a database link as mentioned below-
create database link db_link_test connect to 'schema' identified by 'password' using 'tns name';
I am able to access table like -
select * from table_name@db_link_test;
Now I am trying to acess and use sequence
select schema.test_seq.nextval from dual@db_link_test;
it is giving error -
+ORA-02289: sequence does not exist
02289. 00000 - "sequence does not exist"
*Cause: The specified sequence does not exist, or the user does
not have the required privilege to perform this operation.
*Action: Make sure the sequence name is correct, and that you have
the right to perform the desired operation on this sequence.+
Could you please help me out here on this..
Regards,