Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

using sequence on db link

804215Feb 2 2012 — edited Feb 2 2012
Hi 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,
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 1 2012
Added on Feb 2 2012
3 comments
3,358 views