Toad for Oracle has an autocomplete feature.. you type SELECT * FROM USER. and then press Ctrl+. and a drop down appears where you can choose from the objects available to you.
This functionality suddenly stopped. Now, instead of a drop down, it goes to the first default match. I have no idea what I did to change the behavior.
How do I restore the drop down functionality?
In newer version of Toad, this option is under View -> Toad Options -> Editor -> Code Assist.
In older versions, this option is under Options -> Editor -> Code Assist.
The only time I have ever seen it autofill instead of providing a list is when there is only one table that matches though... What version of Toad are you using?
I had the same problem, it was caused by a corrupt configuration file - try this answer and see if it works.
Related
I am stuck with my daily use of TOAD.
I use Toad in parallel with SQL Developer, because TOAD provides syntax hi-lighted SQL Export und faboulous dependeny tracking with F4. Still most of development of mine is done on SQL developer.
For a few days I struggle with Toad. Sometimes it opens all the editor windows I need on opening, sometime it won't and I can't figure out how to tailor and tame the beast.
I struggle with this situation:
I have connected to target system, but the editor window does not open by itself, neither I can open one manually - see picture.
What is wrong?
How can I tailor toad, to open an SQL editor window, each time a new session is established?
How can I open a SQL-window, eg. how to activate the open editor option in the situation show on the screenshot?
What kind of strange state TOAD is taking in the situation shown?
Thanks for your help.
Your screenshot is so small I can't see everything you have going on, but the Editor menu you show contains Editor specific commands that are only enabled when an Editor is opened and active. You don't have one. To open an Editor windows see the Database menu. There's also a toolbar button for it, but it looks as though you only have the Team Coding toolbar active.
Since you are having issues I'd recommend resetting the toolbar layout so that everything is visible again. Right click over Toad's toolbar and choose "Restore defaults."
I need to have a miner update to the package body in Oracle Database using Oracle SQL Deverloper 3.2. The update does not need to change the package specification.
Using the Oracle SQL Deverloper, I right-click on the package name, choose "edit body", then update the body.
Then I find that it seems there are several ways to update the package body:
(1) click "run" button.
(2) click "compile" button.
(3) click "compile with debug" button.
(4) close the tab of package windows, then choose "yes" to save the changes on the pop-up windows.
My questions are:
1) what are the difference in the above 4 ways?
2) which is the proper way?
Thanks a lot
Regards
1) When you click "Run", the SQL Developer starts to execute the current Active SQL. And now it is a CREATE OR REPLACE PROCEDURE..., so it turns to be a DDL
2) When you click Compile, Developer explicitly do the same as previous. No difference actually.
3) When you choose for Debug, if you enable "debugger" in SQL Developer, then you can enable breakpoints in your code, after compiling.
4) When you click Save, SQL Developer simply pushes the code to be Executed, again as Step1.
All are proper ways, but when you SQL developer to edit your proc, you may feel some slowness, because it do maintain some persistent setting behind the screens, and it is slightly buggy. It wont harm, but just slows down.
I cannot click the preference button on Pl/SQL Developer. Though I am connected and I am able to run scripts. I need to adjust somethings in the pls/sql Developer, but I am not able.
Doest anyone know the solution?
According to this changelog, this bug was fixed in version 8.0 Beta 5: "Preferences menu could be disabled on first start".
According to this thread, you need to make sure that this directory exists and you can write to it: C:\Documents and Settings\<user>\Application Data\PLSQL Developer\Preferences\<user>.
I am attempting to add a connection to an Oracle database through Server Explorer. The 'Test' Connection' is successful, however whenever I go to view the list of tables / schemas, I can only see the one associated with my login.
I realise this sounds silly, but when I use the same login/password through Toad for Oracle, I am still allowed to browse "All Schemas" to find the tables I want.
Is this possible through Server Explorer? Or do I need to find a specific login for the schema I want to access?
Solution (just so it's here and not just on the OTN forums)
Right-click on connection in Server Explorer
Choose filters
Select the "Dispalyed Schemas" row in the property grid (it should be selected by default)
In the Property/Condition/Value fields, click the "..." button for Value
Pick any schemas you want to see and click Ok.
Conversely, instead of using the dialog that appears after clicking the "..." button, you can list the schemas separated by commas in the Value textbox.
Oracle's way of dealing with users and schemas is different from SQL Server's. So I suspect the default Visual Studio behaviour won't work properly with Oracle.
Have you installed the free Oracle Developer Tools for Visual Studio? Find them here. If you do that then you can manually add the other schemas to the filter of your main connection. I found instructions in this OTN forum thread:
"highlight the connection node you
want to moidy and choose filters or
right click on the specific connection
node and choose modify then click on
the filters tab to modify the
filters."
I agree this is clunky, and it should be done automatically. I guess there's a limit to how VS can be extended.
Suddenly all my keyboard shortcuts in the "Run" menu are disabled and I have no idea why. They were working yesterday, but not today. I can click on the toolbar menu options to run these commands (Run, Trace, etc), but they key bindings don't work. I tried this suggestion and even went so far as to re-install it. Still no luck. Anyone have any suggestions?
Thanks!
Most of the menu items in Oracle SQL Developer will be active only if at least one connection is active.
So check whether you have your connection object is active.
For more Oracle SQL Developer shortcuts click here
Have you assigned a connection to the worksheet (or file, if that's what you are trying to run)? It's the dropdown box on the top right-hand side.
This is for debug and won't be enabled until you click on some code (say a Function, Procedure, or a Package)
I had this same issue until I opened the procedure/function etc. with the procedure editor instead of as a worksheet. This is done by finding your program in the Connections explorer and opening it from there.