Generating Entity - RelationShip in Oracle SQL Developer.

Is it possible to generate an Entity - RelationShip diagram from Oracle SQL Developer?
Thanks in advance,
Jaime.

If you're willing to pay the 3000 quid per seat (+ annual support costs), take a look at [Oracle SQL Developer Data Modeler|http://www.oracle.com/technology/products/database/datamodeler/index.html].
Have fun,
K.

Similar Messages

  • BUG in Oracle SQL Developer 3.0.04 on the "generating DLL" with comments?

    I'm newbie on oracle, but I think that I found out a bug in Oracle SQL Developer version 3.0.04 on the "generating DLL" tool using "comments".
    I will describe the steps that I gave:
    I created a view, but after I test it I had to change my “where” condition, so I comment the old code and then I wrote the new “where” condition below. After I done that I tried to look at the sql code of my view using “generating DLL” tool, but oracle sql developer only shown me half of the code, a lot of code were missing. Then I began with some test trying to understand what happen and I notice that if I put an invalid sql code in my comment the generating DLL start working with no problems, for example(pseudo-code):
    (COMMENT WITH VALID SQL CODE the "Generating SQL" don't work:)
    CREATE OR REPLACE VIEW <user>.<view_name> ( <column1>,<column2> )
    AS
    SELECT column1, column2
    FROM table1
    INNER JOIN
    (SELECT
    FROM table2
    INNER JOIN .....
    INNER JOIN ....
    --where time_stamp = (select max(time_stamp) from .....)
    WHERE time_stamp >= TRUNC(sysdate)
    ) t1 ON t1.ID = ....
    AND ..... >= TRUNC(sysdate)
    ORDER BY ....
    Generating DLL returns this(when the error occurs):
    CREATE OR REPLACE VIEW <user>.<view_name> ( <column1>,<column2> )
    AS
    (COMMENT WITH VALID SQL CODE the "Generating SQL" work with no problems:)
    CREATE OR REPLACE VIEW <user>.<view_name> ( <column1>,<column2> )
    AS
    SELECT column1, column2
    FROM table1
    INNER JOIN
    (SELECT
    FROM table2
    INNER JOIN .....
    INNER JOIN ....
    --where
    WHERE time_stamp >= TRUNC(sysdate)
    ) t1 ON t1.ID = ....
    AND ..... >= TRUNC(sysdate)
    ORDER BY ....
    I believe that "Generating DLL" tool have some problem with the comments, I also used /*...*/ to comment but the problem is still active.
    I notice as well that if I started to add some more comments along the code, the conditions migth change, so I think the problem is related with "comments" code.
    Would you mind telling me if this is a real bug or if I'm doing anything wrong.
    Thank you in advance,
    Rodrigo Campos
    Edited by: 894886 on 3/Nov/2011 5:29

    Hi Rodrigo,
    Thank you for reporting this. The only bug I see currently logged on a comment affecting the generated View DDL involves ending the last line of the definition with a comment, which treats the ending semi-colon (even if on a different line) as part of the comment. That is actually related to a low-priority bug against an Oracle database API.
    Unfortunately, your pseudo-code is a bit complex. Trying a few quick, simpler tests against the standard HR schema did not reproduce the issue. I tried INNER JOIN, and nested SELECTs. It would help greatly if you could provide a test case compilable against one of the standard schema, like HR or SCOTT.
    Regards,
    Gary
    SQL Developer Team

  • Table API Extension for Oracle SQL Developer

    I just created small project [Table API Generator for Oracle|http://code.google.com/p/tapig/].
    Idea is to only maintain tables and generate table API (TAPI) packages for data manipulation.
    Generated:
    - insert, update, delete, querying procedures
    - documentation based on table columns comments
    Do you think it will be useful to have custom Table API Generator as extension for Oracle SQL Developer?

    Never used them myself and quite legacy, but I'm sure there's still a lot of people using them and the basic idea is quite nice.
    This would also qualify perfectly as a User Defined XML Extension for sqldev; little work but big results. Even if you were the only one using it, it would still pay off.
    Have fun,
    K.

  • Oracle sql developer Data Modeler -er diagram

    Hi
    I tried to Oracle sql developer data modeler for show relational ER diagrams.
    Tables are came on data modeler but not shown relations between tables.
    like this
    How can show relations between tables?
    http://i54.tinypic.com/30wxq1e.jpg

    SDDM cannot create an ER diagram with only simple table definitions. It requires that primary keys (PKs) and foreign keys (FKs) be defined first. My guess is you imported these table designs from an existing database. If so, that database does not contain those constraints. (I have found this to be an issue in many organizations over the last 20 years - including my current job). You will have to determine:
    1. The PKs for each table (either via data profiling or talk to someone who "knows" what they are supposed to be, or by reading application logic/code used to manage the tables).
    2. The FKs between the tables. You may be able to guess some of that based on column names, otherwise you will have to figure them out (same as above)
    Then you can update the model in SDDM with the PK definiions (manually). You must do that first before you draw in the FKs between the tables. Now if you want a true Entity Relationship model you need create a logical model from this relational model. The SDDM utility for that will convert the tables to entities and the FKs to relationships.
    I have the basic steps with screen shots outlined in a presentation I gave in Denver in late 2009. It was an earlier version of SDDM but the basics are the same. You can find the presentation is here: http://www.rmoug.org/QEW2009/SQL%20Developer%20Data%20Modeler%20(2).pdf. Start at about slide 12.
    HTH
    (FYI - I no longer work at that company so the contact information not correct anymore).
    Edited by: Kent Graziano on Apr 25, 2011 1:13 PM
    Edited by: Kent Graziano on Apr 25, 2011 1:14 PM

  • Assertion in oracle sql developer

    Hello all
    im using oracle sql developer and oracle11g , how can i use assertion for my tables? i searched in internet but there were no useful information
    thank u in advance
    best,
    david

    >
    I think something like this: we use a primary key which is in another table, it should be included there,this is not assertion in oracle?
    >
    No. That is a foreign key constraint.
    There are other types of constraints that you CAN use on tables such as check constraints.
    See the 'Constraint' section in the SQL Language Doc
    http://docs.oracle.com/cd/B28359_01/server.111/b28286/clauses002.htm
    >
    constraintPurpose
    Use a constraint to define an integrity constraint—a rule that restricts the values in a database. Oracle Database lets you create six types of constraints and lets you declare them in two ways.
    The six types of integrity constraint are described briefly here and more fully in "Semantics":
    A NOT NULL constraint prohibits a database value from being null.
    A unique constraint prohibits multiple rows from having the same value in the same column or combination of columns but allows some values to be null.
    A primary key constraint combines a NOT NULL constraint and a unique constraint in a single declaration. It prohibits multiple rows from having the same value in the same column or combination of columns and prohibits values from being null.
    A foreign key constraint requires values in one table to match values in another table.
    A check constraint requires a value in the database to comply with a specified condition.
    A REF column by definition references an object in another object type or in a relational table. A REF constraint lets you further describe the relationship between the REF column and the object it references.
    >
    And see 'Managing Integrity Constraints' in the DBA Guide
    http://docs.oracle.com/cd/B28359_01/server.111/b28310/general005.htm

  • Configuring RAC-aware JDBC connection in Oracle SQL Developer?

    How can Oracle SQL Developer be configured to properly connect to an [Oracle RAC|http://en.wikipedia.org/wiki/Oracle_RAC] environment, I.E., not just setup to always connect to one of the individual nodes?
    [http://programmersjournal.blogspot.com/2008/08/jdbc-connection-string-for-oracle-rac.html] has an example of a classic and the equivalent RAC-aware version of a JDBC connection string. I've already been using a RAC connection string of the same format from within custom Java applications without issue. I thought the same should be configurable in Oracle SQL Developer by setting the "Connection Type" drop-down to "Advanced", then entering the RAC-aware JDBC connection string as the "Custom JDBC URL". However, upon testing the connection, the following error is displayed at the bottom of the dialog:
    Status : Failure -Test failed: Io exception: NL Exception was generated
    There is no additional information shown on the "Logging Page" view. Using Oracle SQL Developer 1.5.5.
    Thanks!

    Thanks, Barry. Just F.Y.I., it is working for me now that I upgraded to the 2.1 EA as -K- suggested. I had marked his reply as "Correct", but probably should have left a response indicating my success as well.
    Now, if there's anything you could do regarding the [issues around the display performance of CLOBs, etc., in the Query Result view|http://forums.oracle.com/forums/message.jspa?messageID=3906571] , it'd be very appreciated!

  • Oracle SQL Developer Data Modeler

    Hi Guys,
    Is it possible to generate the data model design with Oracle SQL Developer Data Modeler and save such that other programs can open it?
    For example visio and how can I achieve that?
    Thanks

    no,
    Philip

  • Is it possible to query software inventory report for Oracle SQL developer installation?

    Hi all
    My company requires to generate a report of all kinds of Oracle database access tool. I can find Toad installation from Add/Remove Program and therefore can query for Toad.
    However, Oracle SQL developer is using Java. I cannot see an entry for Oracle SQL developer from Add/Remove Program. Is there a way to query inventory for Oracle SQL developer installation?
    Thanks a lot.
    Regards
    Lic

    You might be able to use software inventory to report on the version of sqldeveloper.exe.
    As the app looks like just a zip you extract to a custom location that might be one method.

  • Getting the schema using Oracle SQL Developer 1.5.1

    I need to generate a report in CSV/XLS format using Oracle SQL Developer 1.5.1 to get the schema details
    in the below format.
    Table Name: XXXXXXXXX
    Table Space Name: XXXXXXXXXXXXXXX
    Structure :
    Field Name Data Type Size
    Xxxxxxxx xxxxxx xxxxx
    Xxxxxxxx xxxxxx xxxxx
    Xxxxxxxx xxxxxx xxxxx
    Xxxxxxxx xxxxxx xxxxx
    Field level constraint:
    Xxxxxxxxxxxxxxxxxx
    Table Level Constraint:
    Xxxxxxxxxxxxxxxxxx
    Indexes:
    Index Name Column Name(s) Table space name
    Xxxxxxxx xxxxxxxxx xxxxxxxxxxxx
    Xxxxxxxx xxxxxxxxx xxxxxxxxxxxx
    Xxxxxxxx xxxxxxxxx xxxxxxxxxxxx
    Sequence Number:
    Xxxxxxxxxxxxxxxx
    Triggers:
    Xxxxxxxxxxxxxxxxxx
    I am using a query to do that, but I cannot run more than one queries in the Create Report Dialog.
    I went to the Menu->View->Reports. In that, I chose User Defined Reports, created a new folder called Schema Detail and in that a report named Schema Detail. I right click on that report, choose Edit option, Create Report Dialog opens.
    In the Create Report Dialog, I chose the option Script for Value of Style.
    In the SQL column I enter a query "select * from table_names". But, if I enter another query after that, it does not run and reports an error "SQL Error: ORA-00933: SQL command not properly ended
    00933. 00000 - SQL command not properly ended" Cause:    Action: "
    I end the first query with a semi colon, but it does not work.
    The queries run fine in a SQL Worksheet. There, I can terminate the first query with a semi colon and enter the second query. Then, I run both of them together so that result-set of second query appears after the second.
    Am I doing something wrong? Can someone please advise on how to get the information I need?
    Thanks a lot.

    You can do it in SQL Worksheet because you are running a script. You could run the script in SQL*Plus, and even start it from a bat/cmd file.
    Or if you want this as a User Defined Report, you might make it a PL/SQL style report. Here, all output is done through DBMS_OUTPUT.PUT or DBMS_OUTPUT.PUT_LINE. You can output HTML tags or plain text. I have an example in my paper for ODTUG Kaleidoscope 2009.

  • How to print a something in oracle sql developer

    Hello all
    Do you know How to print a something in oracle sql developer? i mean for example in the query we write something, (offcourse i dont mean comments)
    thank u in advance.
    best

    1003209 wrote:
    Hello all
    Do you know How to print a something in oracle sql developer? i mean for example in the query we write something, (offcourse i dont mean comments)
    thank u in advance.
    bestDBMS_OUTPUT()

  • Oracle SQL Developer 1.0 is easy to install and use, and is portable

    I have tried the latest version of Oracle SQL Developer 1.0 and would like to share my experience of using it.
    Installation of Oracle SQL Developer 1.0
    Download from
    http://www.oracle.com/technology/software/products/sql/index.html?_template
    Unzip the Oracle SQL Developer for Windows (55.8 MB) to C:\sqldeveloper (103MB)
    Advantages: The unzip folder can be your removable disk and you can access Oracle
    anywhere provided that there is an Internet connection to Oracle Server.
    Unzip sqldeveloper-1557.zip to C:\ with folder name;
    double-click on sqldeveloper.exe in c:\sqldeveloper
    Click on [No]
    Tick all check boxes
    Click on [OK]
    Right-click on Connections, New
    Database Connection…
    Enter User name: SCOTT
    Password: TIGER
    Hostname: 127.0.0.1 (or IP of your Oracle Server on the Internet)
    SID: orcl
    If you want to connect to local Oracle user SYS,
    Enter User name: sys
    Password: ora10g_manager_password
    Hostname: 127.0.0.1
    SID: orcl
    Select Role: SYSDBA
    Click on [Connect]
    Right-click on Tables, Create Table
    Click on [Add Column]
    Select Type: NUMBER for COLUMN2
    Click on [OK]
    Table1 is created
    Click on TABLE1, click on “Data” tab
    Click on the “Green Plus” icon to insert record
    Click on “Commit Changes” icon
    Click on “DBConnection1” tab
    Enter: select * from table1;
    Click on “Execute Statement (F9)” icon
    To exit: Click on File, Exit

    Have you noticed that there's a forum dedicated to SQL Developer?
    C.

  • Copying from Oracle SQL Developer to Microsoft Word doesn't retain formatting (Font,colors etc)

    Copying from Oracle SQL Developer Worksheet doesn't retain formatting (font,color etc...)in Microsoft Word but copying from other programs such as
    visual studio, chrome browser etc works fine. This doesn't work even after changed the setting to Keep Source formatting of Options-> Copy and Paste Settings

    Hi,
    I notice that you have cross posted in Answers forum and Oracle forum. Have you tried Mr. Peter's suggestion?
    Then, I recommend we check the Word settings:
    1. Go to: Options > Advanced > Cut, Copy and Paste
    2.  Make sure that Use smart cut and paste is ticked. 
    3. Click the Settings button next to this option
    4. Make sure that Smart Style
    Behavior is checked.
    If the issue still exists, please upload a sample through One Drive, I want to test.
    Regards,
    George Zhao
    TechNet Community Support

  • Unable to connect to Oracle Database using Oracle Sql developer 2.1.1.64

    Hi Everyone,
    I am searching for some help regarding my problem with Oracle connectivity. I have installed Oracle 11g release 2 on my Windows XP Professional Laptop. For a few days after installation i could connect to the Oracle database with the SYSTEM account using Oracle SQL developer ( installed on the same Laptop) but now i am unable to do so.It gives me this annoying message:
    An error was encountered performing the required operation  Got a minus one from read call .Vendor code 0
    However i am able to connect using Sql Plus by supplying the username SYSTEM and the corresponding password.
    My TNSNAMES .ora file is as follows:
    ORACLE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST =localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = ORACLE)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    My Listener.ora file is as follows:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = D:\app\product\11.2.0\dbhome_1)
    (PROGRAM = extproc)
    (ENVS = "EXTPROC_DLLS=ONLY:D:\app\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    (SID_DESC =
    (GLOBAL_DBNAME = Oracle)
    (ORACLE_HOME = D:\app\product\11.2.0\dbhome_1)
    (SID_NAME = Oracle)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (PROTOCOL_STACK =
    (PRESENTATION = GIOP)
    (SESSION = RAW)
    ADR_BASE_LISTENER = D:\app
    My Sqlnet.ora file is as follows:
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    I am new to Oracle and so i need someone in this forum who can help me resolve this problem. Also i even tried connecting to the database using Toad 10.5.0.41. It give me the following error:
    ORA 12537 : TNS Connection closed
    Thanks for your patience and help in advance.
    ---Prashant

    Hello Irian and Sue,
    I can connect to the Oracle database using SQL Plus. Now when i TNSPING ORACLE from command line i get the following message :
    Used parameter files:
    D:\app\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST =localhost
    *)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = ORACLE)))*
    TNS-12537: TNS:connection closed
    Thanks for your response to my initial post.Do u have any other methods to resolve this?

  • Oracle SQL Developer  error - "The file-based source procedure Name is not present in the database."

    I recently started working on the Oracle SQL developer. I have 'select' privileges on the QA schema and when tried to execute proc in QA. It is giving the error as 'The file-based source <procedure Name>  is not present in the database.  Was it compiled?'
    instead 'you do not have sufficient privileges to execute this procedure'. Did research on internet but with no luck.What configuration changes needed to be done to make it work.Guide me.

    Sounds like you do not have the correct privileges.  What should have been granted to you by the QA user, or some other user with appropriate privileges, is...
    grant EXECUTE on "QA"."<PROCEDURE_OF_INTEREST>" to "<YOUR_USERID>" ;
    Note that a grant of execute on a procedure has nothing to do with grants of select on some or all of QA's tables and views.
    So, as Vadim suggests, from your connection node in SQL Developer's Connections view, if you expand the Other Users node, then expand QA and look in the Procedures node, do you see the procedure of interest?  If not, you cannot expect to be able to execute it from your userid's connection. And even if you do see it, you may have some other privilege that permits viewing but not executing, like...
    The role SELECT_CATALOG_ROLE
    The system privilege SELECT ANY DICTIONARY
    And even if you do not see it there, then having certain other privileges granted to you could permit executing it in general, like...
    The role EXECUTE_CATALOG_ROLE
    The system privilege EXECUTE ANY PROCEDURE
    Also, note that the 3.0 release is a bit dated nowadays. Upgrading to 4.0.3 production or even the 4.1 EA2 (early adopter) release will, in general, give you a better experience.
    Best wishes,
    Gary

  • How to change the password of a schema using Oracle SQL Developer

    Hi need to change the password of a schema using Oracle SQL Developer how do i do it?

    Hi
    alter user username identified by password

Maybe you are looking for

  • Insurance agent

    Hi all, I have the scenario below: I buy insurance for the staff in company. Assume the insurance agent is A company. This company will be in charged with paying insurance for the staff through their personal bank accounts. Of course, at this step, t

  • Update for iBooks Author

    Does anyone know if Apple are going to make the iBooks Author available so any publications you make are available for all OS devices rather than just the iPad? Its such a good program its a pity its only available for the iPad... Anyone know anythin

  • Item with zero quantity.

    Hi , I need a SQL query which returns all the items with zero quantity. In mtl_system_items_b am not finding any quantity column. I have written a query.will you please let me know whether it works or not. select b.segment1,0 from inv.mtl_system_item

  • IMac RE set up

    I have an iMac G5 running 10.4.11. It is connected to a wireless network (that Comcast set up) thru a Netgear router. I also have a PC laptop running Vista wirelessly connected to the router. I have read that Vista is not compatible to RE and have tr

  • Problems starting a windows service

    WLS 10.3.3, Windows 2003, JDev 11.1.1.3 I have followed the create service instruction and created a service. The admin server comes up and I can see everything - however none of the deployed applications start - and the service reports an untimely s