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!

Database Link within Stored Procedure

574996Jun 16 2008 — edited Jun 16 2008
Hi,

I have a dblink, and when i just do a normal query on SQL Developer SQL worksheet, it works e.g. select * from table@dblink

When i create a stored procedure and declare the select * from table@dblink in a cursor, compilation of the stored procedure fails, giving ORA-00942: table or view does not exist.

Any ideas?

regards,
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 14 2008
Added on Jun 16 2008
3 comments
2,052 views