How to get the database create 9iR2 db statement?

Friends,

OS: RHEL 3
DB: Oracle 9iR2

under sql will be the creation of tablespace.
select dbms_metadata.get_ddl('TABLESPACE','TEMP') from dual;
like the above, I want to get the creation of database statement

is it possible using dbms_metadata or any other means?

Thank you

There were a few scripts or references to scripts to generate create statements of database in the past.

I thought that I had actually downloaded one, but I don't know what I did with it. I however did a quick search and found the following:

Of comp.databases.oracle.server. The last entry for the thread refer to such a tool are available on the web pages of the author.

http://groups.Google.com/group/comp.databases.Oracle.Server/browse_frm/thread/a1457c459be3479a/63bcc6008e8273b7?hl=en&lnk=St&q=#63bcc6008e8273b7

You can use the Oracle DBCA utility for fine screens to create a database and output, then save the scripts. You can now take those scripts and change the and adding additional orders for your goal.

HTH - Mark D Powell.

Tags: Database

Similar Questions

  • How to get the database name/IP address of the server forms10g database

    Hello world
    How can I get the name of the database instance and the IP address of the database server?

    I use GEC 10 g and the database server is Oracle 10 g.

    Dobbelaere

    How can I get the name of the database instance and the IP address of the database server?

    To use the IP UTL_INADDR

    For example name you can use sys_context ('userenv', 'instance_name')
    or
    SQL > select instance_name from v$ instance;

  • SS lack of creation, how to get the comments created by the user

    Dear all,

    I have a requirement to create a report for all the Absence pending requests that are applied by the user, I'm able to do all the Absence on hold using the following tables:
    Hr_Api_Transactions
    Hr_Api_Transaction_Steps

    but none of the tables above contains the "comments" that the user typed while creating the absence. The absence is not yet approved.

    Please need your help on this.

    Hello

    Absence details which are not always approved are stored in the HR_API_TRANSACTIONS table. the details are stored in XML format in the column named TRANSACTION_DOCUMENT. You will need to read the XML data for the information of comments. Please find the link below which will provide you with a reference on how to analyze the XML data stored in the HR_API_TRANSACTIONS table.

    http://www.apps2fusion.com/apps-training/apps-functional-documents/AME-sshr/436-parse-XML-hrapitransactions-sshr-HRMS-self-service

    It will be useful. Let me know if you want more details.

    Thank you
    Sanjay

  • How to get the menuitem created in another class

    Hello

    I created a class. on the inside I added a few menus using addMenuItem (Map);

    final class UserInterfaceTouch extends MainScreen
    {
    
     UserInterfaceTouch() {
            super();
    
            LabelField title = new LabelField("Nutiteq SDK Map Sample",
                    LabelField.ELLIPSIS | LabelField.USE_ALL_WIDTH);
    
            setTitle(title);
            addMenuItem(_test);
    
        }
    MenuItem _otest = new MenuItem("Testing, 10, 10) {
            public void run() {
                --- code for doing some thing
            }
        };
    }
    

    How do I acess the menu in the class thus form another class, is it possible to do so.

    Thank you

    SujithRavindran

    Sorry for posting this.

    I got the answer.

  • How to get the parameter values of a step type custom when I create file and adding a type of step seq

    I use lv 8.5 and teststand 4.0.

    I did a step type custom and recorded at the MyTypes.ini in pallets of type.

    I specified a default module by opening the properties of the custom step of *.ini type window, then I put some values of the parameters.

    T1) when I open teststand and I add the custom step type manaully in seq file, the labview module parameter values are represented.

    But, if to use file (create and add support prototype stage), the labview module parameter values has the default value.

    Using joint file, how to get the setting custom step type values I put in *.ini?

    Q2) each type of step are automatically by name through the use of LoadTypePaletteFilesEx. When I open teststand and I add the custom step type manaully in seq file, the module is loaded automatically. Inside the attachment, I use a prototype of charge and a fixed path where the module labview is to load the labview module.

    Can I load module automatically without using a prototype of charge or how can I get a dynamic path of type step?

    I solved Q1 for myself by using the mapping tab of the parameter within the configuration to the default module window.

    Everyone knows Q2?

    Thank you.

  • How to get the use of database tables/columns in the table of edge/analysis?


    Hi all

    Anyone has an idea on how to get the tables in DB/colomns usaged in edge/analysis table in OBIEE 11 G?

    Thanks in advance!

    Anne

    You can try to generate a report of Catalog Manager for analysis / SA want to create the line and your RPD you can go to utilities > documentation of the repository and get the domain you want to and get all the mappings in Excel format.

    I hope this helps.

    SVS

  • How to check the database is created in the database of node 2 RAC

    Hi all

    Please allow questions maybe too obvious. I'm not familiar with RAC and ASM.
    virtual box (Windows 7)

    2 built nodes on Linux 6.1 Windows 64-bit virtual machine.
    11.2.0.3 software grid & database.
    One of DB name is demo
    Node1 (demo1)
    Node2 (demo2)


    1. I installed the 11.2.0.3 grid software and set up ASM with her. The installation seems to succeed.

    I am able to use view state using crsctl (see the log)

    2. I installed the database software and you want to create a database (demo) by default. the software from 95%, but not able to realized the dbca.

    I see that the asm_pmon is running, but not able to see the process of demo db. I think at this point, I don't have my demo of database has been created yet.

    Yes, question
    1: is the database created?
    2. I try to use dbca to create my demo db, but at the stage of creation of the 'copy of the database files' - she complaint ORA-03114: not connected to ORACLE
    ???? What? What oracle server trying to connect?
    3. If the database is created, how to start the database, in particular it has 2 instances (demo1 and demo2)?

    Please advise!

    Thank you very much!




    [grid@demo1 ~] $ crsctl stat res t
    --------------------------------------------------------------------------------
    TARGET STATE SERVER STATE_DETAILS NAME
    --------------------------------------------------------------------------------
    Local resources
    --------------------------------------------------------------------------------
    ORA. DATA.dg
    Demo1 ONLINE
    Demo2 online
    ORA. LISTENER.lsnr
    Demo1 ONLINE
    Demo2 online
    ORA.asm
    Demo1 Started online
    Demo2 Started ONLINE
    ORA. GSD
    In offline mode offline demo1
    Demo2 offline offline
    ORA.net1.Network
    Demo1 ONLINE
    Demo2 online
    ORA.ons
    Demo1 ONLINE
    Demo2 online
    --------------------------------------------------------------------------------
    Cluster resources
    --------------------------------------------------------------------------------
    ORA. LISTENER_SCAN1. LSNR
    1 demo1 ONLINE
    ORA.demo1.VIP
    1 demo1 ONLINE
    ORA.demo2.VIP
    1 demo2 online
    ORA. CVU
    1 demo1 ONLINE
    ORA. OC4J
    1 demo1 ONLINE
    ORA.scan1.VIP
    1 demo1 ONLINE

    Published by: 969880 on November 13, 2012 14:18

    1. What is sure, is that your database is not registered in OCR because there are missing elements in crsctl stat res t exit for database instances.
    2. default DBCA trying to restore an RMAN backup to create a database. DBCA probably also try to connect to the new instance of the database to run scripts.
    3. you must use:

    srvctl start database -d demo
    

    This should start all database instances.

    But first try to check the DBCA logs that should be under $ORACLE_HOME/cfgtoollogs/dbca and to correct related errors.

  • How to get the create view sql statement

    I have a technical problem

    There is a view in the database, for example "topstudentsview" and sql statement is ' select * student where scores > 90;

    My question is how to get the sql statement of the view. I want to get the sql statement in the topstudentsview

    Is the equivalent in MS Sql

    sp_helptext 'topstudentsview '.

    How in Oracle?

    Thank you

    user10182401 wrote:
    My question is how to get the sql statement of the view.

    Simple answer: use a tool. Almost every development tool will give you an option for this requirement.

    In Oracle SQL Developer (free), it's as simple as:

    Connect to the database with the user and click on "views".
    Select the appropriate view, and then click the SQL tab.

  • How to get the name of the current PDF file?

    Hello world

    I know this is maybe a question has been asked millions of times, but I couldn't find a straight answer.

    I am using a workflow that comes with a Content Manager Solution is not Adobe this WF will generate a file very long (about 30 characters) name that will be used as the number of unique processes.

    To go to the step next in the workflow that I have to update the table in the database and registration update will use the process number.  What I did is that I added a field in hidden text in the form, which should have the number of processes on the initialize function.

    Now my question is how to get the file name of the opened PDF file?

    I'm sure that there is a function in JS, but I couldn't find the way to do it.

    Thanks in advance guys for help.

    Mazen

    Acrobat can create LiveCycle Design possible forms, but each uses a different and different languages or syntax approach.

    There are a number of ways to get the file name and path, urt getFileName.

  • How to get the return value from Java runtime.getRuntime.exec?

    I am running shell from a (GR 11, 2) Oracle database commands on aix.
    But, I would get a return value of a shell comand... as you get with "echo $?"

    I use a code like
    CREATE OR REPLACE JAVA SOURCE NAMED common."Host" AS
    import java.io.*;
    public class Host {
      public static int executeCommand(String command) {
        int retval=0;
        try {
            String[] finalCommand;
            finalCommand = new String[3];
            finalCommand[0] = "/bin/sh";
            finalCommand[1] = "-c";
            finalCommand[2] = command;
    
          final Process pr = Runtime.getRuntime().exec(finalCommand);
          pr.waitFor();
    }
       catch (Exception ex) {
          System.out.println(ex.getLocalizedMessage());
          retval=-1;
        }
        return retval;
    };
    /
    but I do not get a return value... because I don't know how to get the return value...

    Published by: user9158455 on 22-Sep-2010 07:33

    Hello

    Your pr.exitValue () has tried?

    I think you also need a finally block that destroys the sub-process

    Concerning
    Peter

  • How to get the text have the same effect as the video?

    Hello

    For the first time post here, but I wonder how to get the text of the titles have the same effect as the video behind her.

    For my video, I use 'bad tv' and other effects such as Gaussian that obviously changes the appearance of video, creating the look of VHS. However, I then inserted text via the title, but it normally appears. How can I make this text have the same effects as the video behind it?

    A friend told me I might need to add text to the video first, then do the effects, I have not tried, but wonder if there is an easier way, as this would require me to restart.

    EDIT: That's what I'm looking for. https://youtu.be/7_2PHQI89dI?t=24s The text has the same effect as the video.

    Thank you

    One way is to create a clip made up based on the title and the original clip. Then apply the effect.

    Another way is to use an adjustment layer.

    Good luck.

    Russ

  • How to get the icons to display correctly in the Finder?

    At the time of the "classic" Mac OS, if the icons are not correctly display in the Finder, we could 'rebuild the desktop file' to correct the problem. I've recently updated to Yosemite, and most things work well, but for some reason, most of the files in the Finder .webloc now show as blank icons (but not all; a few show the correct icon). There is no model, I can see: some very old .webloc files now show a white icon (where I know that their icons used to be correct), while the most recent show the icon of correct - although I just created four (by dragging the URL of the Safari, the usual method) which are all empty. Sometimes they appear with the older icon, with the symbol @ (although those who seem to have changed vacuum after running and restart maintenance). I tried from an external disk, repair permissions and repair the file system, as well as cleaning with the utility of Maintenance (which clears the web browser and other caches), nothing works. Does anyone know how to get the computer to display these icons correctly?

    May be a corrupt .plist.

    Make a backup, preferably 2 backups on 2 separate drives.

    Go to Finder and select your user folder. With this Finder window as the windshield, select Finder/display/display options for presenting or order - J.  When the display options opens, check "show the library folder. This should make your visible user library folder in your user folder.  Select the library. Then go to Preferences/com.apple.finder.plist and com.apple.desktop.plist.  Move the .plists on your desktop.

    Relaunch the Finder by restarting the computer and test. If it works fine, delete the plists from the desktop.

    If the same, return the .plists to where you obtained since, by crushing the latest.

    Thanks to leonie for certain information contained in this.

  • How to get the Windows OS 8.1 actiivation key after the interview

    Dear Sir.

    My laptop has been given for maintenance on 09/06/2015 & collected on 19/08/2015. Unfortunately, while giving it for maintenance, Service Center authorized Lenovo not asked me to create a recovery media. Everything taking the delivary of the laptop service center could not activate windows 8.1 (this laptop computer OS has been pre-loaded & under warranty). Can someone tell me how to get the product activation key.

    Avinash Karnik

    Avinash-Karnik says:

    Dear Sir.

    Sorry, I fergot to quote these two motherboard have been replaced as original hard drive & motherboard had developed the fault for which I had to abandon for maintenance & replacement & maintenance for 2 & 1/2 months.

    Best regards & thanks.

    What version of Win 8.1 is the unit having now? If it's the PRO version, then probably you need to enter a product key if you reinstall. Try to download using the tool of media win 8.1 64 bit (no PRO version). Use it to install Win'a 8.1. The product key should be detected and you will not be required to enter as described above.

  • How to get the reference or the property of a member in OOP node?

    Hello world

    Is it possible to get the referral of a member in OOP?

    After you have created a class and an insert, a member of control in the cluster, I conclude that, when a right click on it, there is no element of "creat-> reference" or "create-> property node?

    So, how to get the reference or the property of a member in OOP node?

    Hello

    There are a few reasons that you can't do what you want to do:

    1 al ' LVOOP ordinary (as opposed to the DVRS in LabVIEW 2009, or some other framework / pattern design) are items of LabVIEW by value, as a cluster and therefore you can not create a reference to a class.

    2. a control of the object (this is what you get when you drop an object on a façade) is a 'black box' because you cannot look inside. This is to support the idea that the class data private. This means that you can't get a reference to all internal control when its on a façade

    3. check the references are valid only for the controls in the Panel before and therefore any class (or other piece of data of LabVIEW) on a wire / shift register / constant / anywhere other that of the façade, will have only the data portion of the available control.

    To access the items within a class, you create the accessor screws (you can create them easily by right-clicking a class (or the folder within the class) in the project tree and selecting New-> VI to access data members.) This VI would at least have a unbundle / bundle node (depending on whether its read/write) and could, if you have many more features such as range checking. You can use this VI whenever you want to read the Member your interested.

    I hope this helps.

    Shaun

  • How to get the Subvi (the virtual path is in .exe) reference in Run Time System

    Hello world

    The problem is how to get the reference of the Sub - VI in run time system, when the Subvi is in .exe after construction.

    More details:

    Top of page vi called the Subvi dynamically, so that the Subvi is always included, and the source object is the application.exe.

    After the above configuration, the Sub - VI will be the application.exe. For example, the path of Subvi est...\application.exe\SubVI.vi

    So, how to get the reference of the Subvi in Run Time System?

    I can't do it when you use 'open reference VI' with le...\application.exe\SubVI.vi path in the run time system.

    In fact, I can create a file to include the Subvi, rather than build the Subvi in application.exe, then I can get the convenintly reference. But this isn't my favourate average.

    Thank you

    chenyin

    That is the problem. Call a Subvi dynamic means users could change, but it is also very attractive.

    The dynamic call should be used in a user control, but some parade can avoid problems.

    It depends on why you use dynamic calls...-online 2 main ways:

    -Dynamic call are used to maintain a scalable framework for the code without acting on the executable file-online a single VI distribution managed by the administrator/developer

    -Dynamic call are used to provide a collection of "external" characteristic that could be enriched by the administrator/developer. For example, you provide your customers a set of selectable custom signal filters in the executable.

    In 2 cases, you are only able to assess the skills of the users to know if there is a risk of damage, if there is a change.

    So to stay only master a parade might be to provide dynamic VI without a schema, but with the problem of maintenance, since no in-place editing and more attention to manage distribution.

    Another way is to hide the actual distribution to user-online call dynamic VI but it without name as *.vi but others (a repellent name as system of OS name ) or simply without extension in order to attract not user... but that's debatable...

    Another more difficult but more secure method is to create a consistency check before your routine (version, user, modified date,...)

Maybe you are looking for