Oracle SQL Developer - node "tables" missing from navigation pane - oracle

I must have done something to my configuration because my SQL Developer is missing the "tables" node in the lefthand navigation tree -- note the absence of "Tables" as very first item, between the DB connection node and "Views":
Where in SQL Developer can a user configure what nodes are displayed? I've tried googling for this but my keywords return a lot of irrelevant stuff so I might have missed if the answer was really there.
This is SQL Developer v4.0.

There is indeed a way to selectively disable some items in there, but you can't really do that accidentally - your installation might have corrupted itself somehow.
To unhide the "Table" item, go to Tools -> Preferences. Then expand the Database item and select Navigation Filter. If Tables is unchecked there, check it.
You can disable the feature entirely from the same page (checkbox at the bottom of the UI).

Related

SQL developer won't show tables in the connections Tab

Why do tables, views etc. not show up under the databases? (please refer to the screenshot).
Because you're in the DBA Navigator view. See that tiny "DBA" above the green plus sign? Normally, it says "Connections", but - now you're in DBA mode so - it displays options appropriate for DBAs.
That can be switched in the "View" menu. Select
Connections, or
DBA

Clean up member history view?

Is there a way in MKS Integrity to clean up the member view? We have files that when you open the Member History view just look like massive spider webs. It would be nice if we could click a revision, hit a magic button, and only see the revisions directly tied to that revision (i.e., one level out from it). Does anything like that exist in MKS? (obvious: I'm new to MKS)
From the Member History window, go to menu -> View -> Change Filter to bring up the Filter Revisions dialog.
Modify the Filter Revisions based on whatever criteria you care about--in this case, probably based On Branch.
Click OK.
The member history should now display a filtered member history.
Unfortunately, there is no functionality for a "single button filter by current branch". If your organization has a current maintenance contract with PTC, you could have an appropriate contact log a feature request for this functionality on usability grounds.
Disclaimer: I work in PTC Technical Support.
As far as I know all my colleagues have the same problem. I can only give you the hint that when you have the Member History window you can set a filter in the menu [View].
Better would be to have some right-click menu for that - but this might be something related to an external script?
If you are using dynamic Member History views you might also consider having always 2 dynamic Member History views open.
One as list that shows all.
One graphical with a filter enabled with View -> Change Filter
If you never close that graphical history view the filter will remain active
even if you restart the Integrity client.

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.

update the package body in Oracle Database (Sql developer)

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.

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.

Resources