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!

Oracle 12c - Opening cursor with remote tables over db link

user7672166May 12 2021

WE just upgraded from 11g SE to 12c SE. Please note, this process worked perfectly under 11g, and only started failing once under 12c.
The procedure puts together a query, and then opens up a REF Cursor to return the data. The query has remote tables which are accessed via DB Link. If I take that query by itself, and paste it into SQL Plus, it works fine.
But, if I run the procedure, and try to print the REF Cursor, it just hangs, forever.
What changed between 11g & 12c to make this start failing?

Comments
Post Details
Added on May 12 2021
11 comments
1,947 views