in reply to Re: Oracle Db Link Error ORA-01001: invalid cursor
in thread Oracle Db Link Error ORA-01001: invalid cursor
The innermost select query is in a loop that queries across multiple databases. And the query works for some databases and for some the prepare statement throws an error. The tablename is the same across databases
For e.g
I am currently investigating if the way I open my local DB connection with AutoCommit has got anything to do with this.select * from customers@db_01; <-- This will execute ... ... select * from customers@db_08; <-- This one will throw a prepare fail.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Oracle Db Link Error ORA-01001: invalid cursor
by poj (Abbot) on Jan 10, 2017 at 18:53 UTC | |
by mediocremorsov (Initiate) on Jan 11, 2017 at 13:58 UTC | |
by poj (Abbot) on Jan 11, 2017 at 14:34 UTC |
In Section
Seekers of Perl Wisdom