Refreshing Intellisense in Toad for Oracle - oracle

I am using Toad 10.5.1.3
The new objects that I create are automatically not showing up in the intellisense dropdown. The only thing I know works is to shut down Toad and reopen it. There's got to be a better way than that!
How do I refresh the cache for the intellisense dropdown in Toad for Oracle?

Toad caches results per connection string.
There is a button on your popup that displays objects. Just click it and it will refresh results in cache.
Another way i found out for this is to disable caching of Toad Insight results. Go to options->editor->code assist and disable "cache code insight results".
Of course, this sucks if your dictionary is slow.

Related

Howto fix messed-up TOAD configuration - How to open a SQL-Window

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."

Copy and paste text into an Oracle table

In SQL Server, you can copy an Excel spreadsheet, go to SQL Server, open a table, highlight the last row and Ctrl+V to paste all the records from Excel into SQL.
Is there a way to do this in Oracle? I don't want to import, I want to copy & paste. It doesn't appear to let me do it.
Please note; my experience with Oracle is a whopping 3 hours. One of those, "Oh, we're switching to Oracle today. Learn it or find a new job" things. So feel free to explain your answer as if I'm a complete Oracle n00b, because I am.
I'm using Oracle SQL Developer. According to the Help, it's Version 4.1.3.20
click the table. in the window on the right there should be a data tab. click it. there will be an insert row tab. click the field you want to paste to click control+v then click the commit button
Make sure what you are copying is the right data type for the field you are copying into. Since you have sql experience this should help.
It should be noted this is not the preferred way to do this, you should use insert statements.

SQL Developer not showing tables

So, I'm kinda new to SQL Developer, but I always heard a lot about it and how it was good. The thing is, my SQL Developer never showed my tables, nor had a "Tables" tab. Sorry if this is a dumb question, but, I've searched everywhere and, wherever I search they simply show that SQL Developer automatically generate the "Tables" tab when you connect. This never happened to me.
One more question, all of a sudden, my SQL Developer toolbars changed and the old ones simply vanished. And, when I say "all of a sudden" I mean it. I closed it and, when I opened, it changed. Also, the buttons doesn't work, none of them.
Your screenshot shows that you have the Data Modeler extension active. All those toolbar buttons are for creating logical data models and ERDs.
It's a little weird as you have a worksheet active, so the worksheet/SQLDev toolbar should be active.
Glad a restart helped.
If this happens again, try Window > Reset Windows to Factory Settings
You're looking at the DBA view. You probably want to be looking at the Connections view. Go to View and choose "Connections". That will bring up the window that contains the tree view that lets you navigate to different object types (like tables) rather than the tree view that lets you navigate to different DBA tasks.
If you are on Windows, try this
View(from the top menu bar) --> Connection(click it)
Clicking on Connection will open the Connection view with all the tables.

How can I see other schemas apart from my own when connecting to an Oracle database through server explorer?

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.

Oracle SQL Developer "Run" shortcuts disabled

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.

Resources