How to get DDL Script in Oracle 11g

How can i get DDL Script in Oracle 11g database.
I am using windows as OS
Can anyone help me to get solution.
Thanks in Advance

parapr wrote:
How can i get DDL Script in Oracle 11g database.
I am using windows as OS
Can anyone help me to get solution.
Thanks in AdvanceHUH?
might DBMS_METADATA.GET_DDL() provide what you desire?

Similar Messages

  • How to get the script of a table or view in SQL Developer?

    Dear friends/expert,
    Could you tell me how to get the script for a view or a table easily in SQL Developer like pressing F4 in TOAD?
    I found that I can press SHIFT+F4 for a view in SQL Developer and get the script of the view in Details Tab. But how to move the script to SQL worksheet to edit? It is very easy to do in TOAD.
    And I didn't find a way to get the script for a table till now. Is there any way to do that?
    Thanks in advance.
    Best regards,
    Ning

    1. Although the team might put a lot of effort in keeping track on the forum, a lot of posts still go by without answer.
    2. If you have an enhancement request, log it at the announced SQL Developer Exchange, so others can vote to add weight on the issue. Be clear and detailed in the explanation.
    3. Given the structure of the application, I guess it won't be easy (maybe impossible) to add the functionality you are asking. Do you have a suggestion on how to access the info?
    4. If your request gets accepted, still another year or two may go by until the functionality gets added. For sure you'll be better off writing a user defined extension or report (querying DBMS_METADATA.GET_DDL).
    Hope that helps,
    K.
    Edited by: -K- on 12/01/2009 09:37

  • How to configure debug mode in Oracle 11g ?

    I am making Oracle Argus system based on Oracle 11g DB.
    I heard there is debugging mode in Oracle DB to investigate trouble.
    How to configure debug mode in Oracle 11g ?

    Are you talking about oradebug:
    SQL> oradebug setmypid
    SQL> oradebug unlimit
    SQL> oradebug dump systemstate 266
    SQL> oradebug dump systemstate 266
    SQL> oradebug -g all hanganalyze 3 ---> g is for RAC database instances
    Thanks,
    http://gssdba.wordpress.com

  • How to debug a form module (Oracle 11G Forms) through URL

    How to debug a form module (Oracle 11G Forms) through URL.
    My server OS is Unix. So i could not able to do the Debug Forms from the Form Developer.
    It is displaying a message that "Cannot find the module". Becuase the system is trying find out the module in Unix system instead of ma local system(Windows).
    I need to debug ma module through URL.
    I can place the fmb and fmx in predefined form path in Server.
    Please help me out to solve this issue..

    This is a little unclear. If your goal is to use the Forms Builder Debugger while running your form on a Unix machine, this can be done. However, the form must first be in running order. So before trying to attach the debugger you must first be able to start it without the debugger. For example:
    http://yourServer:OHS_port_number/forms/frmservlet?form=yourFMX
    Once this is properly running you can turn on debugging. If your form won't even start, then using the Debugger isn't going to help you because it is designed to troubleshoot coding problems and not configuration problems.
    So, do this to use the Debugger:
    http://yourServer:OHS_port_number/forms/frmservlet?form=yourFMX&debug=yes
    This will display a dialog box with some information. Do not click on OK yet as you will need this information to enter into the Forms Builder. Now, open the Forms Builder and click on Debug > Attach Debug. You will be asked for the information displayed in the dialog where you attempted to start the form. Enter it here (in the Builder) then click on ok in both places. To display the Debugger (in the Builder), click on Debug > Debug Console. Then from its toolbar click on the buttons related to what you want to monitor. Including a break point in your application code is often a more helpful way to use the debugger.
    Most of this information is explained in the Forms Builder Online Help
    Forgot to mention...
    To debug runtime issues, refer to the Forms Deployment Guide here (this assumes you are using 11.1.2):
    http://docs.oracle.com/cd/E38115_01/doc.111210/e24477/appa.htm
    Edited by: Michael Ferrante (Oracle) on Feb 21, 2013 1:45 PM

  • How to get this script to work with different browser

    Do you guys know how to get this script to work with mozilla firefox? 
    do shell script "open -a safari 'https://login.binck.nl/klanten/Login.aspx?ReturnUrl=%2fklanten%2fdefault.aspx'"
    tell application "Safari"
      activate
              tell document 1
                        repeat until ((do JavaScript "location.host") is "login.binck.nl")
                                  delay 1
                        end repeat
      do JavaScript"document.getElementById('ctl00_Content_Gebruikersnaam').value='sim';document.ge tElementById('ctl00_Content_Wachtwoord').value='password';window.open(document. g etElementById('ctl00_Content_LoginButton').href, '_self', 'true');"
              end tell
    end tell
    Thank you so much in advance:)

    That isn't possible. Firefox's AppleScript dictionary doesn't contain anything which can be used to manage JavaScripts.
    (63741)

  • How to get connectivity between Personal Oracle 8.0.0.3 & Developer 2000 (Any Version

    Can anybody tell me how to get connectivity between Personal Oracle 8.0.3 and Developer 2000 Rel 2.1 in Win 98 Environment.
    I am able to install either Oracle 8 or Developer 2000 but not both, even if I use different Oracle Homes.
    When I posted the same question to www.xperts.com someone wrote to me saying that a patch has to be used to get the connectivity.
    I have been trying to solve the problem for last 6 months, but could not do it.
    Can you please tell me how to get the connectivity or atleast tell me which version will facilitate connectivity in a stand alone PC.
    Thanks and regards,
    Ashok
    null

    For Windows98. Worked for me, but no guarantee it will solve your problem.
    1) Install Dev2K.
    2) Install PO8i in a separate Oracle home.
    3) Use the following for TNSNAMES.ORA in your DEV2K Home:
    # C:\ORAWINKS\NETWORK\ADMIN\TNSNAMES.ORA Configuration File:C:\orawinKS\NETWORK\ADMIN\tnsnames.ora
    # Generated by Oracle Net8 Assistant
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    MYORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = ORCL)
    null

  • How to run a script on Oracle server from isqlplus

    Hi I am trying to run a script on my workstation from Oracle server through isqlplus workarea. I entered following command and get the following error. i have enabled isqlplus URL by editing web.xml file already. Can please someone help how to run the script?
    @http://myaixserver.com:5560/scripts/Databasestartupstages.sql;
    SP2-0920: HTTP error 'page not found (505)' on attempt to open URL

    So far, you haven't specified your rdbms version and isqlplus behaved differently on a 9iR1, 9iR2 from the one release on 10gR1/R2. on 9i it was a servlet based on a JServ servlet executor machine, meanwhile on 10g it is a J2EE compliant application deployed on an OC4J container, so configuration is different.
    You may want to take a look at these references -->
    * Starting iSQL*Plus from a URL
    * Creating Reports using iSQL*Plus
    ~ Madrid

  • How to get ddls from sqlplus like that of TOAD

    Hi,
    I have to work on a terminal machine for a client where the TOAD is not installed. For my regular DBA activities I need to take the DDL many times.
    I am very much used to the style of DDL scripts which TOAD 9.6.x.x gives for any object in a schema.
    Can someone suggest how I can I get exactly TOAD-like scripts (which provide not just the create statements)
    For e.g.
    *1.From sqlplus when I do*
    select dbms_metadata.get_ddl('TABLE','APE1_ACCUMULATORS') from dual;
    I get only the below
    CREATE TABLE XLTDBO92.APE1_ACCUMULATORS
    CYCLE_CODE NUMBER(4) CONSTRAINT APE1ACCU_CYCLE_CODE_NN NOT NULL,
    CYCLE_INSTANCE NUMBER(2) CONSTRAINT APE1ACCU_CYCLE_INSTANCE_NN NOT NULL,
    CUSTOMER_SEGMENT NUMBER(4) CONSTRAINT APE1ACCU_CUSTOMER_SEGMENT_NN NOT NULL,
    CUSTOMER_ID NUMBER(9) CONSTRAINT APE1ACCU_CUSTOMER_ID_NN NOT NULL,
    ACCUM_TYPE_ID NUMBER(9) CONSTRAINT APE1ACCU_ACCUM_TYPE_ID_NN NOT NULL,
    OWNER_ID
    *2.But from TOAD 9.6.x.x when i click on "create scripts" I will get*
    DROP TABLE XLTDBO92.APE1_ACCUMULATORS CASCADE CONSTRAINTS;
    CREATE TABLE XLTDBO92.APE1_ACCUMULATORS
    CYCLE_CODE NUMBER(4) CONSTRAINT APE1ACCU_CYCLE_CODE_NN NOT NULL,
    CYCLE_INSTANCE NUMBER(2) CONSTRAINT APE1ACCU_CYCLE_INSTANCE_NN NOT NULL,
    CUSTOMER_SEGMENT NUMBER(4) CONSTRAINT APE1ACCU_CUSTOMER_SEGMENT_NN NOT NULL,
    CUSTOMER_ID NUMBER(9) CONSTRAINT APE1ACCU_CUSTOMER_ID_NN NOT NULL,
    ACCUM_TYPE_ID NUMBER(9) CONSTRAINT APE1ACCU_ACCUM_TYPE_ID_NN NOT NULL,
    OWNER_ID
    DROP SYNONYM XLTDB92.APE1_ACCUMULATORS;
    CREATE SYNONYM XLTDB92.APE1_ACCUMULATORS FOR XLTDBO92.APE1_ACCUMULATORS;
    GRANT DELETE, INSERT, SELECT, UPDATE ON XLTDBO92.APE1_ACCUMULATORS TO XLTDBO92_ALL;
    So my question is:
    How to such scripts from sqlplus as well ,irrespective of the type of the object?_
    Note:I am posting a new thread because my previous question was answered even though i was not able to type in completely. My mistake as it was posted in before i could finish the question.
    Regds,
    Kunwar

    If the DDL returned by dbms_metadata is not to your liking then write your own scrips to generate DDL or cover scripts to generate all related items that you want.
    In the case of synonyms and grants this is very easy using rdbms dictionary views, but if you generate a table's DDL you may also want and need the PK, UK, FK, secondary indexes, comments, and policies on the table as well as synonyms and grants. Everything that if you drop the tables goes away.
    There is a dbms_metaddata procedure get_dependent_ddl to generate dependend objects on a table that may be of interest.
    HTH -- Mark D Powell --

  • Apache gets installed together with Oracle 11G on my Win2003 x64 server?Rem

    Hi all,
    I just installed Oracle 11G on my Windows 2003 x64 server.
    It seems that it has also installed Apache on it and took over my port 80 on which i would like to run IIS.
    Can anyone please advice on how i can either remove apache or if it is needed by oracle then at least change the port so i can have my port 80 back.
    I had a browse around but i could not find any configuration files easily.
    Looking forward to your response.
    Cheers
    Dan

    When i do netstat -a i get:
    Proto Local Address Foreign Address State
    TCP wolslice:http wolslice:0 LISTENING
    TCP wolslice:epmap wolslice:0 LISTENING
    TCP wolslice:microsoft-ds wolslice:0 LISTENING
    TCP wolslice:1030 wolslice:0 LISTENING
    TCP wolslice:1033 wolslice:0 LISTENING
    TCP wolslice:1035 wolslice:0 LISTENING
    TCP wolslice:1158 wolslice:0 LISTENING
    TCP wolslice:1830 wolslice:0 LISTENING
    TCP wolslice:ms-wbt-server wolslice:0 LISTENING
    TCP wolslice:3938 wolslice:0 LISTENING
    TCP wolslice:5500 wolslice:0 LISTENING
    TCP wolslice:5520 wolslice:0 LISTENING
    TCP wolslice:5521 wolslice:0 LISTENING
    TCP wolslice:netbios-ssn wolslice:0 LISTENING
    TCP wolslice:1189 wolslice:1521 ESTABLISHED
    TCP wolslice:1231 wolslice:1521 ESTABLISHED
    TCP wolslice:1384 wolslice:1521 ESTABLISHED
    TCP wolslice:1385 wolslice:1521 ESTABLISHED
    TCP wolslice:1390 wolslice:1521 ESTABLISHED
    TCP wolslice:1392 wolslice:1521 ESTABLISHED
    TCP wolslice:1393 wolslice:1521 ESTABLISHED
    TCP wolslice:1394 wolslice:1521 ESTABLISHED
    TCP wolslice:1395 wolslice:1521 ESTABLISHED
    TCP wolslice:1396 wolslice:1521 ESTABLISHED
    TCP wolslice:1397 wolslice:1521 ESTABLISHED
    TCP wolslice:1398 wolslice:1521 ESTABLISHED
    TCP wolslice:1400 wolslice:1521 ESTABLISHED
    TCP wolslice:1402 wolslice:1521 ESTABLISHED
    TCP wolslice:1403 wolslice:1521 ESTABLISHED
    TCP wolslice:1404 wolslice:1521 ESTABLISHED
    TCP wolslice:1417 wolslice:1521 ESTABLISHED
    TCP wolslice:1521 wolslice:0 LISTENING
    TCP wolslice:1521 wolslice:1189 ESTABLISHED
    TCP wolslice:1521 wolslice:1231 ESTABLISHED
    TCP wolslice:1521 wolslice:1384 ESTABLISHED
    TCP wolslice:1521 wolslice:1385 ESTABLISHED
    TCP wolslice:1521 wolslice:1390 ESTABLISHED
    TCP wolslice:1521 wolslice:1392 ESTABLISHED
    TCP wolslice:1521 wolslice:1393 ESTABLISHED
    TCP wolslice:1521 wolslice:1394 ESTABLISHED
    TCP wolslice:1521 wolslice:1395 ESTABLISHED
    TCP wolslice:1521 wolslice:1396 ESTABLISHED
    TCP wolslice:1521 wolslice:1397 ESTABLISHED
    TCP wolslice:1521 wolslice:1398 ESTABLISHED
    TCP wolslice:1521 wolslice:1400 ESTABLISHED
    TCP wolslice:1521 wolslice:1402 ESTABLISHED
    TCP wolslice:1521 wolslice:1403 ESTABLISHED
    TCP wolslice:1521 wolslice:1404 ESTABLISHED
    TCP wolslice:1521 wolslice:1417 ESTABLISHED
    TCP wolslice:1521 wolslice:1682 ESTABLISHED
    TCP wolslice:1521 wolslice:1770 ESTABLISHED
    TCP wolslice:1521 wolslice:3366 ESTABLISHED
    TCP wolslice:1521 wolslice:3367 ESTABLISHED
    TCP wolslice:1521 wolslice:3771 TIME_WAIT
    TCP wolslice:1521 wolslice:3791 ESTABLISHED
    TCP wolslice:1682 wolslice:1521 ESTABLISHED
    TCP wolslice:1770 wolslice:1521 ESTABLISHED
    TCP wolslice:3366 wolslice:1521 ESTABLISHED
    TCP wolslice:3367 wolslice:1521 ESTABLISHED
    TCP wolslice:3784 wolslice:1521 TIME_WAIT
    TCP wolslice:3791 wolslice:1521 ESTABLISHED
    TCP wolslice:1380 wolslice:1381 ESTABLISHED
    TCP wolslice:1381 wolslice:1380 ESTABLISHED
    TCP wolslice:1382 wolslice:1383 ESTABLISHED
    TCP wolslice:1383 wolslice:1382 ESTABLISHED
    TCP wolslice:3336 wolslice:0 LISTENING
    UDP wolslice:microsoft-ds *:*
    UDP wolslice:isakmp *:*
    UDP wolslice:ipsec-msft *:*
    UDP wolslice:ntp *:*
    UDP wolslice:netbios-ns *:*
    UDP wolslice:netbios-dgm *:*
    UDP wolslice:ntp *:*
    I cant see which one of those would be the apache started by oracle.
    I also checked the lsit of running services and i cant see it there.
    But when i browse to http://localhost i get:
    Index of /
    Name Last modified Size Description
    wpad.dat 05-Nov-2009 16:41 2.3K
    Apache/2.2.11 (Ubuntu) Server at localhost Port 80
    My apologies if this is simple stuff. I am just a begginer with Oracle.

  • How to enter the database in oracle 11g!!

    Hi all,
    I have installed Oracle 11g , and the SCOTT,SYS,SYSTEM account are locked ( I guess) as i am UNABLE TO ENTER THE DATABASE.
    When I open SQL+ , a cmd prompt will appear requesting username ( for which I tried SYS,SYSTEM,SCOTT) upon pressing enter, it request's password ,HERE IS THE PROBLEM .What every i try to enter in the password field, doesn’t get displayed there ,I thick its not accepting anything at all.
    I tried sys as sysdba as the username ,didn't work either(insufficent privilages)(windows info: OS-XP sp2, account- administrator),as I am new to SQL Kindly ,SUGGEST ME , HOW TO ENTER THE DATABASE.
    Thanks & Regards
    keerthi kumar

    SET
    sqlplus
    / as sysdba
    startup
    exit
    THE RESULT FROM THE cmd PROMPT FOR THE ABOVE LINES....
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    C:\Documents and Settings\KEERTHI KUMAR>SET
    ALLUSERSPROFILE=C:\Documents and Settings\All Users
    APPDATA=C:\Documents and Settings\KEERTHI KUMAR\Application Data
    CLIENTNAME=Console
    CommonProgramFiles=C:\Program Files\Common Files
    COMPUTERNAME=KEERTHIKUMAR
    ComSpec=C:\WINDOWS\system32\cmd.exe
    DEFAULT_CA_NR=CA18
    FP_NO_HOST_CHECK=NO
    HOMEDRIVE=C:
    HOMEPATH=\Documents and Settings\KEERTHI KUMAR
    LOGONSERVER=\\KEERTHIKUMAR
    NUMBER_OF_PROCESSORS=1
    OS=Windows_NT
    Path=E:\app\KEERTHIKUMAR\product\11.2.0\dbhome_1\bin;C:\WINDOWS\system32;C:\WIND
    OWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Common Files\Teleca Shared;C:\Prog
    ram Files\Smart Projects\IsoBuster;
    PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
    PROCESSOR_ARCHITECTURE=x86
    PROCESSOR_IDENTIFIER=x86 Family 15 Model 44 Stepping 2, AuthenticAMD
    PROCESSOR_LEVEL=15
    PROCESSOR_REVISION=2c02
    ProgramFiles=C:\Program Files
    PROMPT=$P$G
    P_SCHEMA=D:\Solid Edge V18\etc\UGSchemas
    SESSIONNAME=Console
    SystemDrive=C:
    SystemRoot=C:\WINDOWS
    TEMP=C:\DOCUME~1\KEERTH~1\LOCALS~1\Temp
    TMP=C:\DOCUME~1\KEERTH~1\LOCALS~1\Temp
    USERDOMAIN=KEERTHIKUMAR
    USERNAME=KEERTHI KUMAR
    USERPROFILE=C:\Documents and Settings\KEERTHI KUMAR
    windir=C:\WINDOWS
    C:\Documents and Settings\KEERTHI KUMAR>sqlplus
    SQL*Plus: Release 11.2.0.1.0 Production on Sun Aug 1 07:26:30 2010
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    Enter user-name: / as sysdba
    ERROR:
    ORA-12560: TNS:protocol adapter error
    Enter user-name: startup
    Enter password:

  • Getting DDL for all oracle objects

    I am working to get the DDL for all the oracle objects within my schema.
    Some how I got the DDL but I can't got the comments associated with the oracle tables.
    Shall I know what I am missing in using dbms_package I am currently using ..?
    Below is the sql I am using to get DDL
    SELECT dbms_metadata.get_ddl(replace(OBJECT_TYPE, ' ', '_'), OBJECT_NAME,OWNER)
    FROM DBA_OBJECTS
    WHERE OBJECT_TYPE in ('SEQUENCE',
    'PROCEDURE',
    --'DATABASE LINK',
    'PACKAGE',
    'PACKAGE BODY',
    'MATERIALIZED VIEW',
    'TABLE',
    'INDEX',
    'VIEW',
    'FUNCTION')
    AND
    OWNER = 'Schema_1';
    Can I know what needs to be changed to above sql to get comments on oracle tables along with their DDL.
    Any advise is highly appreciated.
    Thanks
    JP

    >
    I am still MISSING ';' after every sql and comments.
    >
    You only get what you ask for. If you want modifications you have to set the proper transform parameters.
    See DBMS_METADATA in the PL/SQL Packages and Types doc
    http://docs.oracle.com/cd/B28359_01/appdev.111/b28419/d_metada.htm
    See SET_TRANSFORM_PARAM and SET_REMAP_PARAM Procedures and table 74-22 that list the parameters you can use
    Here are some examples from Java code that I use depending on flags that have been set
    -- set the transforms back to the defaults
            String defaultTransform   = "BEGIN DBMS_METADATA.SET_TRANSFORM_PARAM(DBMS_METADATA.SESSION_TRANSFORM,'DEFAULT'); END;";
    -- do not include referential constraints
            String ref_constraints    = "BEGIN DBMS_METADATA.SET_TRANSFORM_PARAM(DBMS_METADATA.SESSION_TRANSFORM,'REF_CONSTRAINTS', false); END;";
    -- do not include constraints
            String constraints        = "BEGIN DBMS_METADATA.SET_TRANSFORM_PARAM(DBMS_METADATA.SESSION_TRANSFORM,'CONSTRAINTS', false); END;";
    -- do not include the schema prefix
            String noschema           = "BEGIN DBMS_METADATA.SET_TRANSFORM_PARAM(DBMS_METADATA.SESSION_TRANSFORM,'EMIT_SCHEMA', false); END;";
    -- make it look pretty
            String pretty             = "BEGIN DBMS_METADATA.SET_TRANSFORM_PARAM(DBMS_METADATA.SESSION_TRANSFORM,'PRETTY', true); END;";
    -- don't include the physical properties
            String physicalProperties = "BEGIN DBMS_METADATA.SET_TRANSFORM_PARAM(DBMS_METADATA.SESSION_TRANSFORM,'PHYSICAL_PROPERTIES', false); END;";
    -- don't include the segment attributes
            String segmentAttributes  = "BEGIN DBMS_METADATA.SET_TRANSFORM_PARAM(DBMS_METADATA.SESSION_TRANSFORM,'SEGMENT_ATTRIBUTES', false); END;";
    -- include a sql terminator for each statement
            String sqlterminator      = "BEGIN DBMS_METADATA.SET_TRANSFORM_PARAM(DBMS_METADATA.SESSION_TRANSFORM,'SQLTERMINATOR', true); END;";The last one is what you are looking for.

  • How to setup local loopback for "Oracle 11g Release 2" installtion

    Hi all,
    I was trying to install the Oracle 11g Release 2 on Red hat 6 using Local Loop back configuration, but not able to install..
    The contents of are:-
    /etc/resolv.conf
    # Generated by NetworkManager
    nameserver 59.179.243.70
    nameserver 203.94.243.70
    and of /etc/hosts are:
    127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
    ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
    and
    System eth0 is having setting given below:-
    IPV4 is set to " Automatic(DHCP)".
    IPV6 is set to "ignore".
    If i select system etho0 then host-name gets changed it becomes "dhcppc0".
    i checked it using command host-name. and if i try to install with this configuration then during installation gives error of networking as host-name has been changed to "dhcppc0".
    Please tell me what to do for local loopback configuration
    Am i doing some thing wrong?
    Thanks

    i am using "oracle Release 11.2.0.1.0" but same problem was there with oracle 10g on redhat 5.
    Please tell me how to setup local loopback configuration so that i can use internet as well as oracle on same machine. otherwise for internet use i have to change my system ipV4 to automatic(DHCP). if i change it to automatic(DHCP) then oracle stop its working please tell me solution for both case.
    I can not assign Static IP to IPv4, i earlier post i got recommendation to connfigure Local Loopback , but i am able to setup it.
    what ever the setting i have done are given below:--
    vi /etc/hosts
    127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
    ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
    vi .etc/resolv.conf
    # Generated by NetworkManager
    nameserver 59.179.243.70
    nameserver 203.94.243.70
    #ping localhost
    PING localhost.localdomain (127.0.0.1) 56(84) bytes of data.
    64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=1 ttl=64 time=0.048 ms
    64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=2 ttl=64 time=0.073 ms
    64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=3 ttl=64 time=0.037 ms
    ++++++++++++++++++++++++++++++++++++++++++++++++
    error is------
    [INS-06101]Ip address of localhost could not be determined
    are you sure you want to continue?
    Cause - The localhost is not mapped to a valid IP address in Hosts file (Eg. /etc/hosts in Unix).
    Action - Assign a valid IP address for the localhost or set it to loopback IP address (127.0.0.1 in IPv4 or ::1 in IPv6).
    Summary  - dhcppc0: dhcppc0
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    log file lines are:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Using paramFile: /database/install/oraparam.ini
    Checking Temp space: must be greater than 80 MB. Actual 7471 MB Passed
    Checking swap space: must be greater than 150 MB. Actual 3499 MB Passed
    Checking monitor: must be configured to display at least 256 colors. Actual 16777216 Passed
    The commandline for unzip:
    /database/install/unzip -qqqo ../stage/Components/oracle.jdk/1.5.0.17.0/1/DataFiles/\*.jar -d /tmp/OraInstall2012-05-29_05-13-01PM
    Using the umask value '022' available from oraparam.ini
    Execvp of the child jre : the cmdline is /tmp/OraInstall2012-05-29_05-13-01PM/jdk/jre/bin/java, and the argv is
    /tmp/OraInstall2012-05-29_05-13-01PM/jdk/jre/bin/java
    -Doracle.installer.library_loc=/tmp/OraInstall2012-05-29_05-13-01PM/oui/lib/linux
    -Doracle.installer.oui_loc=/tmp/OraInstall2012-05-29_05-13-01PM/oui
    -Doracle.installer.bootstrap=TRUE
    -Doracle.installer.startup_location=/database/install
    -Doracle.installer.jre_loc=/tmp/OraInstall2012-05-29_05-13-01PM/jdk/jre
    -Doracle.installer.nlsEnabled="TRUE"
    -Doracle.installer.prereqConfigLoc=
    -Doracle.installer.unixVersion=2.6.32-220.el6.i686
    -mx150m
    -cp
    /tmp/OraInstall2012-05-29_05-13-01PM::/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/OraPrereqChecks.jar:/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/jsch.jar:/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/instcommon.jar:/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/instdb.jar:/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/OraPrereq.jar:/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/ssh.jar:/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/prov_fixup.jar:/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/emocmutl.jar:/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/orai18n-utility.jar:/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/orai18n-mapping.jar:/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/installcommons_1.0.0b.jar:/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/cvu.jar:/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/remoteinterfaces.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/OraInstaller.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/oneclick.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/xmlparserv2.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/share.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/OraInstallerNet.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/emCfg.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/emocmutl.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/OraPrereq.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/jsch.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/ssh.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/remoteinterfaces.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/http_client.jar:../stage/Components/oracle.swd.opatch/11.2.0.1.0/1/DataFiles/jlib/opatch.jar:../stage/Components/oracle.swd.opatch/11.2.0.1.0/1/DataFiles/jlib/opatchactions.jar:../stage/Components/oracle.swd.opatch/11.2.0.1.0/1/DataFiles/jlib/opatchprereq.jar:../stage/Components/oracle.swd.opatch/11.2.0.1.0/1/DataFiles/jlib/opatchutil.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/OraCheckPoint.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/InstImages.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/InstHelp.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/InstHelp_de.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/InstHelp_es.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/InstHelp_fr.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/InstHelp_it.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/InstHelp_ja.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/InstHelp_ko.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/InstHelp_pt_BR.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/InstHelp_zh_CN.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/InstHelp_zh_TW.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/oracle_ice.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/help4.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/help4-nls.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/ewt3.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/ewt3-swingaccess.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/ewt3-nls.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/swingaccess.jar::/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/jewt4.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/jewt4-nls.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/orai18n-collation.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/orai18n-mapping.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/ojmisc.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/xml.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/srvm.jar:/tmp/OraInstall2012-05-29_05-13-01PM/oui/jlib/srvmasm.jar
    oracle.install.ivw.db.driver.DBInstaller
    -scratchPath
    /tmp/OraInstall2012-05-29_05-13-01PM
    -sourceLoc
    /database/install/../stage/products.xml
    -sourceType
    network
    -timestamp
    2012-05-29_05-13-01PM
    INFO: Loading data from: jar:file:/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/installcommons_1.0.0b.jar!/oracle/install/driver/oui/resource/ConfigCommandMappings.xml
    INFO: Loading beanstore from jar:file:/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/installcommons_1.0.0b.jar!/oracle/install/driver/oui/resource/ConfigCommandMappings.xml
    INFO: Restoring class oracle.install.driver.oui.ConfigCmdMappings from jar:file:/tmp/OraInstall2012-05-29_05-13-01PM/ext/jlib/installcommons_1.0.0b.jar!/oracle/install/driver/oui/resource/ConfigCommandMappings.xml
    INFO: Verifying target environment...
    INFO: Checking whether the IP address of the localhost could be determined...
    SEVERE: Unable to determine a valid IP for the localhost..
    Refer associated stacktrace #oracle.install.driver.oui.OUISetupDriver:13
    INFO: Completed verification of target environment.
    WARNING: Verification of target environment returned with errors.
    WARNING: [WARNING] [INS-06101] IP address of localhost could not be determined
    CAUSE: The localhost is not mapped to a valid IP address in Hosts file (Eg. /etc/hosts in Unix).
    ACTION: Assign a valid IP address for the localhost or set it to loopback IP address (127.0.0.1 in IPv4 or ::1 in IPv6).
    SUMMARY:
    - dhcppc0: dhcppc0.
    Refer associated stacktrace #oracle.install.commons.util.exception.DefaultErrorAdvisor:16
    INFO: Advice is WITHDRAW
    WARNING: Advised to shutdown the installer due to target environment verification errors.
    INFO: Adding ExitStatus PREREQ_FAILURE to the exit status set
    INFO: Finding the most appropriate exit status for the current application
    INFO: Exit Status is -3
    INFO: Shutdown Oracle Database 11g Release 2 Installer
    ---------------------------------------------------------------------------------------------

  • How to get Historic Data in Oracle

    Hi,
    THe following query might be useful to generate the consecutive dates from given date to sysdate.
    SELECT dt
    FROM   ( SELECT to_date('02/19/1981','mm/dd/yyyy')+rownum-1 AS dt
           FROM    user_objects
    WHERE  TRUNC(dt)<=TRUNC(SYSDATE);NOw lets consider the basic scott.emp table
    The above requirement can be acheived using this query as we may get only 14 records as there are only 14 records in scott.emp table
    select ( to_date('02/19/1981','mm/dd/yyyy')+rownum-1) as dt
    from scott.emp If we see the scott.emp table there are 2 reocrds with empno 7499,7521 with hiredates 20-feb-81 and 22-feb-81 respectively. on pulling the historic data from19-feb-81 to 04-mar-81 as there are only 14 records in the table we need to get the sum of sal or comm as it is along with those dates in the table.
    Assuming there are more than one record for the same date for the dates mentioned above , i have used the following query but could not get the desired output.
    Select To_Date('02/19/1981','mm/dd/yyyy')+Rownum-1,
    sum(Case When Sal>0 And Trunc(Hiredate)= (To_Date('02/19/1981','mm/dd/yyyy')+Rownum-1)
    Then (Sal)
    Else 0 End ) As Hist_Sal,
    sum(Case When Nvl(Comm,0)>= 0 And Trunc(Hiredate)= (To_Date('02/19/1981','mm/dd/yyyy')+Rownum-1)
    Then (Nvl(Comm,0))
    Else 0 End) As hist_comm
    From Scott.Emp
    Group By To_Date('02/19/1981','mm/dd/yyyy')+Rownum-1
    order by 1; I have tried the other option also and I could get the desired output.THe query goes like this:
    --Success Statement
    Select To_Char(Rt.Business_Date , 'Day,Mon DD,yyyy') As Business_Date ,To_Date(Rt.Business_Date) As Hist_date,
    ( Select sum(sal)
    From Scott.Emp  Slm
    Where Trunc (Hiredate) = Trunc(Rt.Business_Date)
    ) as hist_sal
    FROM
    (select ((TO_DATE('02/19/1981','mm/dd/yyyy')-1)+rnm) as business_date from (select rownum rnm from user_objects)) rt
    Where
    Trunc(Rt.Business_Date) Between To_Date('02/19/1981','mm/dd/yyyy') And To_Date('10/31/2012','mm/dd/yyyy')
    order by Hist_date;But i want to get the historic dates/data to be genearted from scott.emp table insetead of using this logic *(select ((TO_DATE('02/19/1981','mm/dd/yyyy')-1)+rnm) as business_date from (select rownum rnm from user_objects)) rt* as written in Success Statement
    As it would be helpful for my requirement ,else I need to write subqueries for all the cols i need as i have written in the above success statement.
    please advise.
    Regards,

    sri wrote:
    Hi,
    THe following query might be useful to generate the consecutive dates from given date to sysdate.
    SELECT dt
    FROM   ( SELECT to_date('02/19/1981','mm/dd/yyyy')+rownum-1 AS dt
    FROM    user_objects
    WHERE  TRUNC(dt)<=TRUNC(SYSDATE);
    Unless you're using Oracle 8 (or older) then it's more efficient to say:
    SELECT     start_dt + LEVEL - 1     AS dt
    FROM     (
              SELECT     TO_DATE ('02/19/1981', 'MM/DD/YYYY')     AS start_dt
              ,     TRUNC (SYSDATE)                           AS end_dt
              FROM     dual
    CONNECT BY  LEVEL     <= 1 + (end_dt - start_dt)
    ;and it doesn't depend on how many rows happen to be in user_objects.
    NOw lets consider the basic scott.emp table
    The above requirement can be acheived using this query as we may get only 14 records as there are only 14 records in scott.emp table
    select ( to_date('02/19/1981','mm/dd/yyyy')+rownum-1) as dt
    from scott.emp If we see the scott.emp table there are 2 reocrds with empno 7499,7521 with hiredates 20-feb-81 and 22-feb-81 respectively. on pulling the historic data from19-feb-81 to 04-mar-81 as there are only 14 records in the table we need to get the sum of sal or comm as it is along with those dates in the table.
    Assuming there are more than one record for the same date for the dates mentioned above , i have used the following query but could not get the desired output.
    Select To_Date('02/19/1981','mm/dd/yyyy')+Rownum-1,
    sum(Case When Sal>0 And Trunc(Hiredate)= (To_Date('02/19/1981','mm/dd/yyyy')+Rownum-1)
    Then (Sal)
    Else 0 End ) As Hist_Sal,
    sum(Case When Nvl(Comm,0)>= 0 And Trunc(Hiredate)= (To_Date('02/19/1981','mm/dd/yyyy')+Rownum-1)
    Then (Nvl(Comm,0))
    Else 0 End) As hist_comm
    From Scott.Emp
    Group By To_Date('02/19/1981','mm/dd/yyyy')+Rownum-1
    order by 1; I have tried the other option also and I could get the desired output.THe query goes like this:
    --Success Statement
    Select To_Char(Rt.Business_Date , 'Day,Mon DD,yyyy') As Business_Date ,To_Date(Rt.Business_Date) As Hist_date,
    ( Select sum(sal)
    From Scott.Emp  Slm
    Where Trunc (Hiredate) = Trunc(Rt.Business_Date)
    ) as hist_sal
    FROM
    (select ((TO_DATE('02/19/1981','mm/dd/yyyy')-1)+rnm) as business_date from (select rownum rnm from user_objects)) rt
    Where
    Trunc(Rt.Business_Date) Between To_Date('02/19/1981','mm/dd/yyyy') And To_Date('10/31/2012','mm/dd/yyyy')
    order by Hist_date;But i want to get the historic dates/data to be genearted from scott.emp table insetead of using this logic *(select ((TO_DATE('02/19/1981','mm/dd/yyyy')-1)+rnm) as business_date from (select rownum rnm from user_objects)) rt* as written in Success Statement
    As it would be helpful for my requirement ,else I need to write subqueries for all the cols i need as i have written in the above success statement.Sorry, I'm not sure what you're asking.
    Do you want to know if there's a simpler and/or more efficient way to get the same results as the 2nd query you posted above?
    Here's one way:
    WITH      all_dates   AS
         SELECT     start_dt + LEVEL - 1     AS dt
         FROM     (
                  SELECT     TO_DATE ('02/19/1981', 'MM/DD/YYYY')     AS start_dt
                  ,             TO_DATE ('10/31/2012', 'MM/DD/YYYY')     AS end_dt
                  FROM    dual
         CONNECT BY  LEVEL     <= 1 + (end_dt - start_dt)
    SELECT       TO_CHAR (a.dt, 'Day, Mon DD, YYYY')     AS business_date
    ,       SUM (e.sal)                                AS hist_sal
    FROM              all_dates  a
    LEFT OUTER JOIN      scott.emp  e  ON  e.hiredate = a.dt
    GROUP BY  a.dt
    ORDER BY  a.dt
    ;For testing purposes, it would be a lot clearer if you made the end_dt something like April 5, 1981 rather than October 31, 2012.
    I hope this answers your question.
    If not, post the results you want from the data in scott.emp, given some reasonable date range. (I suggest Nov. 16, 1981 through Jan. 24, 1982; that includes December 3, 1981 which has 2 rows with the same hiredate.)
    Explain, using specific examples, how you get those results from that data.
    Always say which version of Oracle you're using (e.g., 11.2.0.2.0).
    See the forum FAQ {message:id=9360002}

  • How to display Arabic language in oracle 11g?

    Hi,
    I have asked this question before, but no answers where given. I really need an answer because I cant find any working answer through the web.
    my case is:
    I am building a php and oracle application, everything works fine until I tested the insert function for Arabic text, I
    get "?????"
    environment:
           - oracle 11g r2.
           - windows 7 (home)
           - database charset is set to AL32UTF8
           - Arabic language is installed on windows
           - HTML page character set to <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
           - NLS_LANG is set to ARABIC_UNITED ARAB EMIRATES.AL32UTF8
           -  I am viewing the data via Oracle Enterprise Manager
           - data is inserted via html form.
    And I tried using ARABIC_UNITED ARAB EMIRATES.AR8MSWIN1256 instead of AL32UTF8, but did not solve the issue.
    Please guys your help will be much appreciated, my whole application is on hold until this issue is resolved.
    Best Regards

    Yes.. may be that will work/.
    check this link too add arabic :
    http://windows.microsoft.com/en-in/windows-vista/change-your-internet-explorer-language-settings
    By SR i mean raise a service request with Oracle support. I hope you have access to support.oracle.com with a valid login.
    Regards
    Karan

  • How to get the script pathname?

    I got the filename of javascript and pathname of javascript(not the active document file name) using the below javascript code in illustrator cs3.
    var path = $.fileName;
    But my problem was if i run the javascript through "extendscript toolkit" i got it correctly. But if i run my script through illustrator cs3 application(File->Scripts->test.jsx) i got some integer value only(did not get the javascript filepath and filename). Kindly advice how to get the javascript file name and file path in windows platform through illustrator cs3 javascript. Please help me.

    1. Although the team might put a lot of effort in keeping track on the forum, a lot of posts still go by without answer.
    2. If you have an enhancement request, log it at the announced SQL Developer Exchange, so others can vote to add weight on the issue. Be clear and detailed in the explanation.
    3. Given the structure of the application, I guess it won't be easy (maybe impossible) to add the functionality you are asking. Do you have a suggestion on how to access the info?
    4. If your request gets accepted, still another year or two may go by until the functionality gets added. For sure you'll be better off writing a user defined extension or report (querying DBMS_METADATA.GET_DDL).
    Hope that helps,
    K.
    Edited by: -K- on 12/01/2009 09:37

Maybe you are looking for

  • ITunes gives error message when I try to open it

    iTunes recently stopped working on my iMac... Any help is greatly appreciated.  Here is a copy of the error: Process:         iTunes [2610] Path:            /Applications/iTunes.app/Contents/MacOS/iTunes Identifier:      com.apple.iTunes Version:    

  • How can I lodge a complaint with Apple about quality of products?

    I am about to purchase my fifth or sixth charger for my 13' macbook... of this last year and a half!! I am so unbelievably frustrated with the quality of my charger and the fact that these have to be replaced so often for products that, in just a few

  • Urgent! group by query based on a logical OR (bitwise)

    Let's say I have the following table: field: f1 f2 f3 f4 f5 record 1: a a 1 0 4 record 2: a b 2 3 7 record 3: a b 0 8 1 I want to make a group by on f1 so that I get just one record which is: field: f1 f3 f4 f5 record 1: a 3 11 7 where the result of

  • Yet 'nother network connection Q

    I bought both my twin girls i-touches for Christmas. The i-pods "see" our home wireless networks' SSID and asks for a password to connect. I had our local radio shack guy set up our wireless network a couple of years ago and didn't know(remember)that

  • Autotype support for xsd import and xsd include statement

    Hi, I am using Weblogic 7.0.1. While using autotype for a Schema, I get the error unable to resolve element ref: "qb:WireCenterCLLI. This element exists in an xsd imported in the main XSD which in turn includes a few XSD's. I saw few posts which indi