Generate E-R diagram for existing Oracle SQL Script

Hi,
We have some existed Packages,Procedures,Functions,Views and Materialized Views. We are planning to generate E-R diagrams for existed codes. Could you please suggest me how can we do the same.
we are using Oracle SQL Developer and Oracle Version is : 11g.
Thanks.
Jai V

Hi,
I have already posted a thread regarding Data Flow diagram for existing source code. But I couldn't find find where exactly I have posted. So here I am posting my observations. I would like to prepare a Data Flow diagram for existing Source code. Using Visustin V7 I got the Data Flow Diagram. But am not able to export or Save or Print the diagram. As some one suggested it is possible to get the DFD using Visio. But am not able to get the DFD. Here am getting the problem like , Gave user name and Server name by connecting to ODBC. But still am not getting the required DFD.
Can you please suggest me is there any way to get the DFD using Visio or any tool is there to get the DFD.
Please advice.
Thanks.

Similar Messages

  • Creating a UML Diagrams for existing code?

    Is there a way for netbeans to generate UML Diagrams for existing files? Does it generate them automatically?

    Right click on the class, package or project you want to model and select "Reverse Engineer" from the popup menu. This assumes that you're using version 6.
    PS.

  • Send mails with csv file as an attachment through oracle(SQL SCripts / Stor

    Hello Everybody,
    I have recently come across a requirement in which I am supposed to send mails with csv file as an attachment through oracle(SQL SCripts / Stored Procedure) .
    The contents of the csv file are to be retreived from the Database as well as the content of the mail and to whom it needs to be sent has also to be picked up from the database.
    Can somebody suggest me with a suitable code for the same?
    Would be of great help..!!
    Thanks & Regards,
    - VR
    Edited by: user646716 on Dec 18, 2009 10:44 AM

    read below links
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:255615160805
    http://www.orafaq.com/wiki/Send_mail_from_PL/SQL#Send_mail_with_UTL_TCP_-withattachments
    How to send csv file as an attachment

  • Shell script for below pl/sql script dbms_file_transfer

    Please let me know how tt write the shell script for below pl/sql script dbms_file_transfer it is
    I have trasfer the files from asm into filesystem .
    it is working . but i have to put in the loop
    begin
    dbms_file_transfer.copy_file(
    source_directory_object => 'src',
    source_file_name => 'ncsn',
    destination_directory_object => 'dest',
    destination_file_name => 'ncsn');
    end;
    Edited by: user8680248 on 27/10/2009 20:55

    user8680248 wrote:
    Please let me know how tt write the shell script for below pl/sql script dbms_file_transfer it is
    I have trasfer the files from asm into filesystem .
    it is working . but i have to put in the loop
    begin
    dbms_file_transfer.copy_file(
    source_directory_object => 'src',
    source_file_name => 'ncsn',
    destination_directory_object => 'dest',
    destination_file_name => 'ncsn');
    end;What database version?
    What are you trying to do exactly?
    It's working but you have to put it in a loop. Fine, what's the problem you are having?
    begin
      loop
        exit when ... whatever the exit condition is ...
        dbms_file_transfer.copy_file(
          source_directory_object => 'src',
          source_file_name => 'ncsn',
          destination_directory_object => 'dest',
          destination_file_name => 'ncsn');
      end loop;
    end;

  • Generate UML diagrams for existing JSPDynpage projects

    Hi all,
    Are there any free tools which can generate UML diagrams from exising complex JSPDynpage projects. We have many JSPDynpage interlinked projects and want to have UML diagrams for those.
    Any information on this will be of great help.
    Thanks,
    Hari

    Can anyone help me in this? We don't have any UML tools for SAP JSPDynpages?

  • Build gui for existing oracle database tables with webdynpro java?

    hi
    i want to build a GUI to maintain existing oracle tables
    so far we used oracleFORMS to do so
    is there a good approach for webdynpro java? or do you recommend other sap tools?
    can we generate the gui with a wizard based on the fields in the table?
    do we have to generate sql statements or type in manually?
    regards
    joerg

    Hi Joerg,
    generally that is possible, but you'll have to implement the data access by yourself, by means of EJB or another Java persistance framework such as JDO, SQLMaps, Hibernate, whatever...
    Web Dynpro allows to build a GUI based upon a model - in this case this could be some POJOs (DTOs) representing your database tables, which are communicated to the GUI by your data access layer. Consider a model as a simple Java bean representing database data.
    This approach would require to build a data access layer which incorporates manually generated sql statements, so you'll have to have expert database and java knowledge.
    There might be other approaches, this is just to demonstrate one working possibility.
    regards,
    Christian

  • Suggested books/video series for learning oracle sql?

    What are some good books/ videos for a beginner to learn oracle sql?
    I learn best by being able to go through exercises.
    I am using Oracle 11g express edition and sql developer. In sql developer I have only one connection to the HR schema.
    Also, can I connect to the SCOTT schema in oracle 11g?

    Hi,
    The SQL Language reference is a great book, but its a bit dry for a beginner.
    How about starting with the Getting Started and 2 Day guides here
    http://docs.oracle.com/cd/E17781_01/index.htm
    There are a lot of tutorials here as well
    https://apex.oracle.com/pls/apex/f?p=44785:1:0::NO
    google will also bring up lots of hits as well
    Regards
    Andre

  • Generating a sequence diagram for an ADF/BC project

    hi folks,
    is there an automatic way to produce a sequence diagram? Read something about debug mode but its not working that way.
    Any help apreciated

    Hi John,
    thanks for the info but the documentation says somewhat about break points, but where to set them isnt mentioned - so nothing gets drawn in the diagram. Any info on that would be appreciated. Do i need several break points and especially where do i set them?
    I was allready wondering how a sequence diagram for an adf/bc project would look like - especially if no beans are involved.

  • How to use parameters in oracle SQL script????

    Right now I am writing a SQL script to create a schema and build the objects of this schema....
    I use a .net winform program to run sqlplus to parse this sql script ...
    The problem is that the schema name and the tablespace's location and the sys password must be input by the user, so my SQL script should use these runtime input parameters instead of const parameters....
    So, how to use parameter in SQL script ...........
    Are there some example scripts in oracle home directory for me to refer to????

    Hi,
    UNISTD wrote:
    thanks .....
    what's the difference between variable , define, accept in sqlplus ???VARIABLE declares (but does not assign a value to) a bind variable. Unlike substitution variables, bind variables are passed to the back end to be compiled, and they can only be values in certain data types. You can not use a bind vaiable in place of an identifier, so to do something like
    CREATE USER  &1 ...a bind variable won't work.
    "DEFINE x = y" sets the substitution variable &x to have the value y. There is no user interaction (unless x or y happen to contain undefined substtiution variables).
    "DEFINE x" shiows the value of the substitution variable &x, or, if it is undefined, raises a SQL*Plus error. I use this feature below.
    ACCEPT sets a substitution variable with user interaction.
    And if the user miss some parameters in “sqlplus /nolog ssss.sql par1 par2 par5 par6”, how to use default value of the miss parameters??Don't you need a @ befiore the script name, e.g.
    sqlplus /nolog @ssss.sql par1 par2 par5 par6Sorry, I don't know of any good way to use default values.
    The foloowing works, but, as you can see, it's ugly.
    "DEFINE 1" display a message like
    DEFINE 1            = "par1" (CHAR)if &1 is defined; otherwise,it will display a SQL*Plus error message like
    SP2-035: symbol 1 is UNDEFINEDNotice that the former contains an '=' sign, but the latter does not.
    The best way I know to use default values is to run the DEFINE command, save the output to a filee, read the file, and see if it's an error message or not.
    So you can use a script like this:
    --     This is  DEFINE_DEFAULT.SQL
    SPOOL     got_define_txt.sql
    DEFINE     &dd_old
    SPOOL     OFF
    COLUMN     dd_new_col     NEW_VALUE     &dd_new
    WITH     got_define_txt     AS
         SELECT  q'[
              @got_define_txt
    ]'               AS define_txt
         FROM    dual
    SELECT     CASE
             WHEN  define_txt LIKE '%=%'
             THEN  REGEXP_REPLACE ( define_txt
                               , '.+"
    ([^"]*)
                         , '\1'
             ELSE  '&dd_default'
         END        AS dd_new_col
    FROM     got_define_txt
    {code}
    and start your real script, ssss.sql, something like this:
    {code}
    DEFINE          dd_new     = sv1
    DEFINE          dd_old     = 1
    DEFINE          dd_default     = FOO
    @DEFINE_DEFAULT
    DEFINE          dd_new     = sv2
    DEFINE          dd_old     = 2
    DEFINE          dd_default     = "Testing spaces in value"
    @DEFINE_DEFAULT
    {code}
    when this finishes running, the substitution variable &sv1 will either have the value you passed in &1 or, if you didn't pass anything, the default value you specified, that is FOO.
    Likewise, &sw2 will have the value you passed, or, if you didn't pass anything, the 23-character string 'Testing spaces in value'.
    Here's how it works:
    Define_default.sql puts the output of the "DEFINE x" command into a column, define_txt, in a query.  That query displays either the existing value of the substitution variable indicated by &dd_old or, if it is undefined, the default value you want to use, which is stored in the substitution variable &dd_default.  The substitution variable named in &dd_new is always set to something, but that something may be its existing value.
    Notice that the paramerters to define_default.sql must be passed as global varibales.
    Why didn't I just use arguments, so that we could simply say:
    {code}
    @DEFINE_DEFAULT  sv1  1  FOO
    {code}
    ?  Because that would set the substitution variables &1, &2 and &3, which are miost likely the very ones in which you're interested.
    I repeat: there must be a better way, but I'm sorry, I don't know what it is.
    I usually don't do the method above.  Instead, I always pass the required number of parameters, but I pass dummy or plce-holder values.
    For example, if I wanted to call ssss.sql, but use defulat vlaues for &1 and &3, then I would say something like:
    {code}
    @ssss  ?  par2  ?
    {code}
    and, inside ssss.sql, test to see if the values are the place holder '?', and, if so, replace them with some real default value.  The use has  to remember what the special place holder-value is, but does not need to know anything more, and only ssss.sql itself needs to change if the default values change.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How can I convert a mysql sql script to a oracle sql script

    Hi,
    We have a bunch of tables with data running on a mysql server.
    This should now be moved to an oracle 9 db.
    are there any tools to convert the import script of a mysql db
    to a format of the sql script that work for oracle ?
    Thanks
    Michael

    Oracle has a tool called Migration Toolbench, which supports MySQL 3.22 and 3.23:
    http://otn.oracle.com/tech/migration/workbench/content.html
    On this same topic, I was wondering if anybody has tried migrating from PostgreSQL to Oracle 9i. The workbench doesn't seem to support it, and feeding a pg_dump file directly into SQL*Plus is not working.

  • Command for exceuting the sql script to a db from linux home

    Hi All,
    Can someone please tell me how to execute the /addev/ad/11.5/sql/adcdexcp.sql against case122 from my linux home for our product.
    Thanks in Advance

    Do not fully understand your question.. but some basics:
    You need an Oracle OCI client driver and Oracle client on the client side. E.g. Oracle Instant Client and Oracle's SQL*Plus.
    You need to connect to the database server (using SQL*Plus as the example):
    sqlplus scott/tiger@db-alias
    Where db-alias is a TNS alias for the database.
    Once connected, you can use SQL*Plus to load the contents of a SQL script, and send a single SQL command (or PL/SQL anonymous block) at a time to the Oracle server for execution. E.g.
    SQL> @/addev/ad/11.5/sql/adcdexcp.sql
    I suggest you point your browser to http://tahiti.oracle.com (Oracle Documentation Portal), and look for the SQ*Plus User Guide for the Oracle version you're running.
    If you can be more specific and provide proper details as to what you are attempting to achieve, forum members will be a better position to provide assistance and advice.

  • Running oracle sql scripts by batch.

    Hi. I need to run a batch of sql scripts. How do I do this using dos batch file.
    Thanks.
    Message was edited by:
    Chael

    in your createtable.sql you can spool the output
    set serveroutput on
    spool c:\yourspoolfile.txt
    select statements....
    spool off
    exit
    for more information you can checkt the sqlplus reference:
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14357/toc.htm
    regards

  • How to generate Sequence Diagrams for existing code

    Hi,
    I have a web application written in Java/Jsp's. I am looking to generate sequence diagrams automatically for the existing source code using this tool. I am not sure if this is possible using this tool. Can some one please explain me if that is possible using this IDE tool? If so can you please let me know how this can be done?
    Any response is greatly appreciated.
    Thanks in advance.
    Vijay

    Hi,
    Yes, you can reverse engineer operations and create sequence diagrams using Java Studio Enterprise.
    Just right-click on the operation in the UML model that has the source file associated with it, and select "Create Diagram from Selected elements" or "Reverse Engineer Operation".
    Thanks!

  • Oracle SQL Script in Installshield

    Hello,
    I know this isn't the Installshield forum, but I haven't gotten a response there yet, so I figured I'd ask here. I have a script that needs to be run during install to create a schema for our product to store data in. The script runs flawlessly when copied and pasted into i*SQL, but fails when run through the installer. Not only does it fail, I'm at a loss to describe the errors. I've attached the script, but I'll type out the first couple lines to illustrate my point.
    Original script's first 2 lines:
    CREATE USER xxxxxxx IDENTIFIED BY xxxx;
    GRANT CONNECT TO xxxxxxxx;
    I had to remove the semicolon from the first line to even get that to run. The second line won't run at all. With the semicolons, I get '911 - invalid character' errors, without them, I get '922 - Missing/Invalid option'.
    Is there anything special I should know about running Oracle scripts through Install Shield that you could shed some light on? I'd be very appreciative for any help or ideas, as the deadline is approaching and this is beyond maddening at this point.

    Just an idea but can you execute the whole process as an anonymous block?, like:
    begin
    execute immediate 'CREATE USER xxxxxxx IDENTIFIED BY xxxx';
    execute immediate 'GRANT CONNECT TO xxxxxxxx';
    end;
    /

  • Import or Convert Visio database diagram for SQL Developer Data Modeling

    Hi,
    Would you please advise on how it would be possible to convert an existing Visio 2007 ERD diagram for import into SQL Developer Data Modeling?
    I have tried to save the model as XML Stencil, Template and Drawing, but could not successfully import it into SQL Developer Data Modeling.
    Appreciate your input on this!
    Cheers!

    Those are just drawing formats and don't contain any useful information about the datamodel. If you can generate ddl from the diagram you can import that, but visio is really just a drawing tool with partial data modeling addins.

Maybe you are looking for

  • IMac contacts do not synch with iCloud, iPhone & iPad contacts do

    When I add/modify contacts on my MacBook Pro, the changes do not synch to iCloud, or my iPhone or iPad.  Calendar items and iCloud mail do synch and contactys synch between my iPhone and iPad.  What am I missing?  I have Lion.

  • Imac7,1 freezes with severe graphics issues after bad-tv filter

    firsttly, sorry, this could be a double post, i think i forgot deleting the old one in the wrong category. well, i don't really know if this is a common issue or whether this is firmware or snow leopard related: if i apply the bad-tv filter in fcp7 (

  • Reading Capacity Utility Level of employee..

    Hello Experts, how do I read the capacity utility level of an employee for each month. Is there any table like the RT or the CRT tables which can give me the CUL from the payroll results? Any help would be highly appriciated. Thanks & Regards, Greg

  • ACE probe failure - service down – Can we inform to the end client?

    Hi Guys, Anybody knows if is it possible to inform with some specific error page to the end client when a service is down. Can we configure something in our ACEs? Thanks in advance, Oscar

  • Icloud won' t launch from my pc

    I can't get my ICloud to come up on my PC. When I try I get a message saying "apptitle cloudos has unexpectdly stopped". What does this mean and how can I correct it. I uninstalled all my Apple software and reinstalled it be it didn't help.