Oracle Sql developer: Not showing source code of views, triggers, functions for Oracle RDB - oracle-sqldeveloper

I am using Oracle Sql developer to access my Oracle RDB database. I have installed Oracle RDB extension for Sql developer.
I see there everything in object browser - tables, views, triggers, functions, procedures.
The problem is When i want to see source code of any of views, triggers and function/procedures by mouse double-click, Sql developer does not show source code, it does not show any error
Does anybody have any idea how to retrieve or see source code of those views, triggers and functions?
Thanks.

This is the method for details for an Oracle database in SQL Developer (it may be the same for the RDB extension but I cannot verify this - if it is not then I hope this will be valuable to someone looking for the answer for a pure-Oracle perspective).
To see the SQL for a VIEW:
In the connections pane, expand the connection.
Expand the Views sub-folder.
Click on the View you want details of.
In the main panel, this should now show details of the columns of the view.
At the top of the main panel are a series of tabbed panes; the right-most one is "SQL" and if you click on it then it will show the SQL for the view.
For TRIGGER, FUNCTION, PROCEDURE or most other objects, the method is the same just select the appropriate object type instead of VIEW but the default action at step 4 will be to show the source code for that object.

Related

How to access the Check Dialog in pgAdmin 4?

I'm using pgAdmin 4 and have used the ERD tool to create all tables, relationships and constraints so far.
I'm trying to add a check constraint via the dialogs (https://www.pgadmin.org/docs/pgadmin4/development/check_dialog.html) but don't seem to be able to.
I'm using the pgerd file to generate the SQL required to generate my tables, which is why I'd like to keep everything in that file.
This question How to Add a Check Constraint in a Table in pgadmin 4? seems to show different options to what I see.
(I don't have the check option with the constraints tab)
Can anyone advise or point me in the right direction?
It appears you are not able to access the check dialog options when using the pgAdmin 4 erd tool
If you are not using the erd tool, you can access the check dialog options tab as stated by kashyap-neeraj in their answer
How to Add a Check Constraint in a Table in pgadmin 4?
(right click the table in the pgAdmin browser (the left column) and select properties)

SQL Developer: Navigation Filter showing unwanted objects under Other Users

we went through http://www.vitalsofttech.com/top-13-preferences-to-tweak-when-using-sql-developer-4/ and http://docs.oracle.com/cd/E39885_01/appdev.40/e38414/intro.htm#RPTUG41429 for Database: Navigation Filter settings and followed steps to remove everything else but tables, procedures and packages, which works well for the user/schema we're logged-in. But form the same logged-in user, if we go to other users and select a different schema/user, then it also shows OLAP Option and Scheduler options in the navigation filter(apart from the desired tables, procs and packages), even though they(OLAP Option and Scheduler options) have been unchecked in the Oracle preferences. Is this a known issue or are we missing something?
Any pointers will be appreciated. Thanks!
my SQL developer version: 4.1.3.20, build main-20.78

Not able to view grid lines in MySQL Workbench

I'm trying to create a schema, but in Workbench when I add a diagram it shows nothing. I've tried adding tables and nothing shows up. I'm not sure what I'm missing here. Does anyone know why this is occurring?
Diagraming is part of modeling, so it will not affect your live database. Either use modeling then forward-engineer the model/diagram, or simply edit the database/schema with Workbench (and don't use modeling). The latter is simpler and more straight-forward.
Consider the FAQ entry titled How do I create a MySQL database (schema) in MySQL Workbench?
Or if you're goal here is to use modeling, then consider the tutorial titled Creating a Model; and it also shows the forward-engineering procedure.

Pentaho Report Designer for MongoDB

I just downloaded Pentaho Business Analytics to try its reporting features on a Windows 8 machine. Currently I'm trying to use Report Designer to create a report for a MongoDB datasource, so following the guidelines from the book, I'm using these steps:
Select the Data Tab.
Right Click on the Data Sets item.
Select MongoDB from the menu.
Click on the plus button to create a query
And that is the point where things differ from the book, because I get this form:
According to the book, I should be able to enter a host name, port, and have the option to select a collection, but the form I get doesn't allow me that. Does anyone face this issue, or know how to fix it?
The options are hidden; stretch the window!

Is there an easy way to create a database diagram in SQL Server

I'm not sure if I have worded this question properly I will explain what I am trying to acheieve further.
I am looking to create a graphical representation of an existing database showing table relationships Key relationships etc.
I have seen posts around the internet that suggest you can just go; New > Database Diagram. But I have seen nothing to this effect in Management Studio
Something similar to this:
You first need to install the Diagram Support objects. Then you all you expand the database out and right click the Database Diagram folder
If there is an database diagram drawn for the database it should be visible if you collapse DataBase Diagrams under your database. If you are trying to create one that is the way to go about it create new database diagram.