Hi!
I've been using PL/SQL Developer 7.0 for several years, and have just upgraded to 9.0 and I am having problems with setting it up properly: formerly, if I opened an SQL script from a file, I could change the database where I would like to run it simply by selecting it with the key icon (log on). Now this new version seems to "remember" the database where I opened the file: if I change the database with the key icon, the window where the previously opened script is, "remains" in the former database. Example:
1. I'm in database "A", and open script.sql which contains "select * from B.TABLE".
2. I notice that I should be in database "B" to run the script, and change (log on) to database "B"
3. Try to run the select, and get the error message: "Table or view does not exist"
4. I stay in database B, and open a new SQL window, and type the select by hand: "select * from B.TABLE", I get the results of the table
5. If I click back on the window where the opened file is, and try to run the script, I realize, that the window stayed in database A, I see everything in database A from that window, but in the header of the PL/SQL Developer window I see the connection settings (x@B) of database "B", and get the same error message by selecting from the table in "B" (table does not exist).
Is this some kind of bug or feature? I want my developer to switch ALL open windows I actually use in one Developer instance to the schema and database where I last logged on, just as in my former developer versions...
Does anyone have a solution?
Thanks in advance!
I've been using PL/SQL Developer 7.0 for several years, and have just upgraded to 9.0 and I am having problems with setting it up properly: formerly, if I opened an SQL script from a file, I could change the database where I would like to run it simply by selecting it with the key icon (log on). Now this new version seems to "remember" the database where I opened the file: if I change the database with the key icon, the window where the previously opened script is, "remains" in the former database. Example:
1. I'm in database "A", and open script.sql which contains "select * from B.TABLE".
2. I notice that I should be in database "B" to run the script, and change (log on) to database "B"
3. Try to run the select, and get the error message: "Table or view does not exist"
4. I stay in database B, and open a new SQL window, and type the select by hand: "select * from B.TABLE", I get the results of the table
5. If I click back on the window where the opened file is, and try to run the script, I realize, that the window stayed in database A, I see everything in database A from that window, but in the header of the PL/SQL Developer window I see the connection settings (x@B) of database "B", and get the same error message by selecting from the table in "B" (table does not exist).
Is this some kind of bug or feature? I want my developer to switch ALL open windows I actually use in one Developer instance to the schema and database where I last logged on, just as in my former developer versions...
Does anyone have a solution?
Thanks in advance!
Last edited: