Oracle 7 SQL Reference Manual

I am new with Oracle and require the reference manual to find out more about join conditions. I have some difficulty finding a document from the Oracle web on SQL reference.

Oracle 7 is out of support, thats why it is no longer online available.
But to find out more about join conditions you can search the 8i and 9i documentation on
http://tahiti.oracle.com

Similar Messages

  • Oracle SQL Reference

    There used to be a great site 'Oracle 9i SQL reference' formerly linked at: http://oradoc.photo.net/ora81/DOC/server.815/a67779/index.htm
    It included a full syntax of all SQL commands, such as the Create Tablespace, giving and explaining all options for the command. Does anyone know what happened to this reference ? I assume that with 9i, it got replaced - but I do not know where to find it.
    Any ideas ?: [email protected]

    If you go to http://tahiti.oracle.com, Oracle has put all their documentation online. There's a section for the 9.2 documentation, the 9.0 documentation, and the 8.1.7 documentation. This includes a SQL Reference and a PL/SQL Reference.
    Justin

  • Where are the SQL and PSQL reference manuals gone ?

    Hello,
    I cannot found the SQL and PSQL reference manuals on OTN. In previous version of this web site, there was direct links available, but they seem to have disappeared. As a SQL developer, I have frequently to search in those manuals:
    - Oracle8i SQL Reference Release 8.1.5 A67779-01
    - Oracle8i SQL Reference Release 2 (8.1.6) A76989-01
    - Oracle8i SQL Reference Release 3 (8.1.7) A85397-01
    - Oracle9i SQL Reference Release 1 (9.0.1) A90125-01
    - Oracle9i SQL Reference Release 2 (9.2) A96540-01
    - Oracle8i PL/SQL User's Guide and Reference Release 8.1.5
    - Oracle8i PL/SQL User's Guide and Reference Release 8.1.6
    - Oracle8i PL/SQL User's Guide and Reference Release 8.1.7
    - Oracle9i PL/SQL User's Guide and Reference Release 9.0.1
    - Oracle9i PL/SQL User's Guide and Reference Release 9.2
    I found in this forum links to Oracle9i SQL Reference
    Release 2 (9.2) and PL/SQL User's Guide and Reference
    Release 2 (9.2), but I would appreciate to have links in the OTN page. Why did you change this ? I must now use Google to search the informations that I need.
    Regards

    FYI, all the Oracle manuals are online at http://tahiti.oracle.com. There is also a SQL & PL/SQL statement lookup feature that strikes me as a bit easier than using the manual.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • PL/SQL Toolkit reference manual

    Could you please provide me with the URL for accessing the PL/SQL Tookit reference manual?
    Thanks.

    http://otn.oracle.com/docs/products/ias/doc_library/1022doc_otn/apps.102/a90099/toc.htm
    good luck

  • Oracle 8i SQL Reference

    I am not able to find this SQL Reference. I have followed your instructions and looked at the following without luck:
    http://otn.oracle.com/docs/tech/sql_plus/index.html
    http://otn.oracle.com/documentation/index.html#previous

    Hi Debbie,
    Apologies for the delay in resonding to you.
    I'm not sure which version of the Reference you are seeking. However, if you are looking for the 8.1.7 release, then this is the path you can use on the Documentation pages.
    Go to the Previous releases section on the OTN Documentation home page: http://otn.oracle.com/documentation/index.html#previous
    Then click on: "Oracle8i Database Release 8.1.7".
    This returns the Release 8.1.7 Documetation page. On this page you will find Documentation libraries, e.g. A87860_01. Click on the "View library" link.
    Then click on the "Oracle8i Server and SQL*Plus" link. The Reference is then listed.
    You can try this with any of the "view library" links on any of the Release 8i doc pages.
    Regards,
    Les

  • SQL PRO AND ORACLE SQL URGENT HELP

    Can any one help me out here withe these questions:
    Pro C Qusetions:
    1.     What are the SQLCA and SQLDA ?
    2.     What is a mutating table ?
    3.     What are indicator variables and how are they used ?
    4.     What are the components of the Oracle VARCHAR type and how should such a structure be loaded into a C Char type ?
    5.     Why would you use the ‘ALTER SESSION’ command in conjunction with the tkprof program and what is the purpose of each step ?
    ORACLE SQL QUESTIONS:
    1.0     How would you move data from one Oracle database to another Oracle database?
    2.0     How would you import data into an Oracle database from another DBMS or flat file?
    3.0     What is an Outer Join and how does the output differ from a simple join?
    4.0     What is the difference between the conditional expressions IN and EXISTS ? In what circumstances would you USE EACH.
    5.0      You cannot create a unique index on a table due to duplicate values. Describe how you find the offending row and subsequently delete it.

    1. What are the SQLCA and SQLDA ?
    SQLCA = SQL Communications area: stores status variable and error message text. manual reference
    SQLDA = SQL Descriptor Area - stores information about bind variables. manual reference
    2. What is a mutating table ?
    A table that is being modified and that you are trying to select from. Usually encountered in a before insert/update trigger when trying to select from the table that is being inserted/updated, which causes the dreaded ORA-04091 error.
    3. What are indicator variables and how are they used ?
    Used in Pro*C to tell if the table column contains the value NULL.
    4. What are the components of the Oracle VARCHAR type and how should such a structure be loaded into a C Char type ?
    varchar2 is a null-terminated string. Use Pro*C extended type VARCHAR. Manual Reference
    5. Why would you use the "ALTER SESSION" command in conjunction with the tkprof program and what is the purpose of each step ?
    Use alter session to set tracing on for your session:
    alter session set sql_trace = true ;
    this will create a trace file in the user dump destination
    (select value from v$parameter where name = 'user_dump_dest'). Use tkprof to format the trace file.
    1.0 How would you move data from one Oracle database to another Oracle database?
    Export / Import Oracle utility, Database link and INSERT ... SELECT ..., Database link and COPY command, save to flat file and use SQL*Loader, transportable tablespaces, database "cloning" by copying database files over to a new server and creating a new instance based on those files. List of manuals look up CREATE DATABASE LINK in the SQL Reference, COPY command in the SQL*Plus reference, Export/Import or SQL*Loader in the Utilities manual.
    2.0 How would you import data into an Oracle database from another DBMS or flat file?
    SQL*Loader Oracle Utility
    3.0 What is an Outer Join and how does the output differ from a simple join?
    An example is worth 1000 words.
    SQL> select * from emp ;
       EMP_NO EMP_NAME     DEPT_NO
            1 SMITH              1
            2 JONES              1
            3 BROWN              2
            4 BOND               5
    SQL> select * from dept ;
      DEPT_NO DEPT_NAME
            1 SALES
            2 MARKETING
    SQL> -- inner or "ordinary" join
    SQL> select a.emp_name, b.dept_name
      2  from emp a, dept b
      3  where a.dept_no = b.dept_no ;
    EMP_NAME   DEPT_NAME
    SMITH      SALES
    JONES      SALES
    BROWN      MARKETING
    SQL> -- outer join
    SQL> select a.emp_name, b.dept_name
      2  from emp a, dept b
      3  where a.dept_no = b.dept_no (+) ;
    EMP_NAME   DEPT_NAME
    SMITH      SALES
    JONES      SALES
    BROWN      MARKETING
    BOND5.0 You cannot create a unique index on a table due to duplicate values. Describe how you find the offending row and subsequently delete it.
    Using exceptions clause of enable constraint
    ALTER TABLE employees
    ENABLE VALIDATE CONSTRAINT emp_manager_fk
    EXCEPTIONS INTO exceptions ;
    Find rowids in exceptions table and use those rowids to delete the "bad" data. See SQL reference on alter table for more details.

  • How to see job section in "Oracle SQL Developer"

    Hi,
    I am using oracle SQL developer to connect to oracle instance unlike procedure,tables,views i am not able to see job section (we have can see in toad as job section) please help me to get locate the same.

    There's no support for jobs yet. Vote on the existing feature requests at the SQL Developer Exchange if you want to add weight for future implementation.
    If you have trouble handling them manually, you can always ask help on the SQL And PL/SQL forum...
    Thanks,
    K.
    Edited by: -K- on 20/05/2009 12:27:
    BTW, there are some job reports (Reports - All Reports - Data Dictionary Reports - Jobs), but those will list only DBMS_JOB stuff, not the DBMS_SCHEDULER ones.
    You can also create your own reports and/or User Defined Extensions to add a Jobs node inside the connection navigator, but that's for more advanced users...

  • How to open a package body in Oracle sql developer

    How to open a package body in Oracle sql developer..any shortcut for that

    I need another way to get to my package body. I'm on a locked down system, so the only way I can reference anything is if I already know the name of it. I accidentally overwrote my text document that I was using to work on it and I closed out of the package body in sqldeveloper. There must be a command, like an alter or some such. Anyone know the old fashioned way of looking at a package?

  • Oracle SQL Developer 1.1 Patch 2 (1.1.2.25.79) Browsing

    Dear All
    I download Oracle SQL Developer 1.1 Patch 2 (1.1.2.25.79) ,and install it but
    it refuse to browse any schema , knowing that it accept the connection and keep the massage loading appearing all the time
    Thanks
    Suliman

    More detailed output below (Ctrl+break and running as sqldeveloper -J-Dide.extension.log.to.console=true)
    I've also only got Oracle.* files in my two extensions directories
    C:\Program Files\SQLDeveloper\ide\extensions
    C:\Program Files\SQLDeveloper\jdev\extensions
    C:\Program Files\SQLDeveloper\sqldeveloper\bin>sqldeveloper.exe
    WARNING: Unknown directive: SetSkipJ2SDKCheck
    Using oracle.home=C:\Program Files\SQLDeveloper
    Using ide.user.dir=null
    Full thread dump Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode):
    "TimerQueue" daemon prio=6 tid=0x04635270 nid=0xff4 in Object.wait() [0x04d3f000
    ..0x04d3fd68]
    at java.lang.Object.wait(Native Method)
    - waiting on <0x12879928> (a javax.swing.TimerQueue)
    at javax.swing.TimerQueue.run(TimerQueue.java:233)
    - locked <0x12879928> (a javax.swing.TimerQueue)
    at java.lang.Thread.run(Thread.java:595)
    "AWT-EventQueue-0" prio=6 tid=0x04610e50 nid=0xf50 in Object.wait() [0x04c3f000.
    .0x04c3f9e8]
    at java.lang.Object.wait(Native Method)
    - waiting on <0x12832040> (a java.awt.EventQueue)
    at java.lang.Object.wait(Object.java:474)
    at java.awt.EventQueue.getNextEvent(EventQueue.java:345)
    - locked <0x12832040> (a java.awt.EventQueue)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
    read.java:189)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
    ad.java:163)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    "Image Fetcher 0" daemon prio=8 tid=0x04611160 nid=0x234 in Object.wait() [0x04b
    3f000..0x04b3fa68]
    at java.lang.Object.wait(Native Method)
    - waiting on <0x12860f78> (a java.util.Vector)
    at sun.awt.image.ImageFetcher.nextImage(ImageFetcher.java:114)
    - locked <0x12860f78> (a java.util.Vector)
    at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:167)
    at sun.awt.image.ImageFetcher.run(ImageFetcher.java:136)
    "AWT-Windows" daemon prio=6 tid=0x045fbd28 nid=0xb7c runnable [0x04a2f000..0x04a
    2fae8]
    at sun.awt.windows.WToolkit.eventLoop(Native Method)
    at sun.awt.windows.WToolkit.run(WToolkit.java:269)
    at java.lang.Thread.run(Thread.java:595)
    "AWT-Shutdown" prio=6 tid=0x045fb8b0 nid=0xe4c in Object.wait() [0x0492f000..0x0
    492fb68]
    at java.lang.Object.wait(Native Method)
    - waiting on <0x128345c8> (a java.lang.Object)
    at java.lang.Object.wait(Object.java:474)
    at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:259)
    - locked <0x128345c8> (a java.lang.Object)
    at java.lang.Thread.run(Thread.java:595)
    "Java2D Disposer" daemon prio=6 tid=0x044de4a8 nid=0x688 in Object.wait() [0x048
    2f000..0x0482fbe8]
    at java.lang.Object.wait(Native Method)
    - waiting on <0x12834650> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
    - locked <0x12834650> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
    at sun.java2d.Disposer.run(Disposer.java:107)
    at java.lang.Thread.run(Thread.java:595)
    "Low Memory Detector" daemon prio=6 tid=0x01015278 nid=0x90c runnable [0x0000000
    0..0x00000000]
    "CompilerThread0" daemon prio=6 tid=0x01012d38 nid=0xed0 waiting on condition [0
    x00000000..0x03e6fa4c]
    "Signal Dispatcher" daemon prio=6 tid=0x010120b8 nid=0x7dc waiting on condition
    [0x00000000..0x00000000]
    "Finalizer" daemon prio=8 tid=0x01008fd0 nid=0xd28 in Object.wait() [0x03c6f000.
    .0x03c6fae8]
    at java.lang.Object.wait(Native Method)
    - waiting on <0x1279ffa0> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
    - locked <0x1279ffa0> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
    at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)
    "Reference Handler" daemon prio=6 tid=0x01008518 nid=0x624 in Object.wait() [0x0
    3b6f000..0x03b6fa68]
    at java.lang.Object.wait(Native Method)
    - waiting on <0x127a0020> (a java.lang.ref.Reference$Lock)
    at java.lang.Object.wait(Object.java:474)
    at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
    - locked <0x127a0020> (a java.lang.ref.Reference$Lock)
    "main" prio=6 tid=0x00849390 nid=0xf4c runnable [0x0012d000..0x0012fb78]
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.<init>(Throwable.java:218)
    at java.lang.Exception.<init>(Exception.java:59)
    at java.lang.ClassNotFoundException.<init>(ClassNotFoundException.java:6
    5)
    at java.lang.ClassLoader.findBootstrapClass(Native Method)
    at java.lang.ClassLoader.findBootstrapClass0(ClassLoader.java:891)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:301)
    - locked <0x127a2fd0> (a sun.misc.Launcher$ExtClassLoader)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
    - locked <0x127a0058> (a sun.misc.Launcher$AppClassLoader)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    - locked <0x127a0058> (a sun.misc.Launcher$AppClassLoader)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at oracle.classloader.SearchPolicy$FindMain.getClass(SearchPolicy.java:3
    07)
    at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
    at oracle.classloader.SearchPolicy.loadClass(SearchPolicy.java:648)
    - locked <0x127af080> (a oracle.classloader.PolicyClassLoader)
    at oracle.classloader.PolicyClassLoader.askParentForClass(PolicyClassLoa
    der.java:1308)
    at oracle.classloader.SearchPolicy$AskParent.getClass(SearchPolicy.java:
    68)
    at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
    at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoa
    der.java:1693)
    - locked <0x127adf48> (a oracle.classloader.PolicyClassLoader)
    at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java
    :1654)
    at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java
    :1639)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    - locked <0x127adf48> (a oracle.classloader.PolicyClassLoader)
    at javax.ide.model.spi.DocumentHook.$init$(DocumentHook.java:66)
    at javax.ide.model.spi.DocumentHook.<init>(DocumentHook.java:27)
    at javax.ide.extension.spi.DefaultHookVisitorFactory.createDocumentHook(
    DefaultHookVisitorFactory.java:157)
    at javax.ide.extension.spi.DefaultHookVisitorFactory.registerStandardVis
    itors(DefaultHookVisitorFactory.java:81)
    at javax.ide.extension.spi.DefaultHookVisitorFactory.<init>(DefaultHookV
    isitorFactory.java:53)
    at oracle.ideimpl.extension.ExtensionManagerImpl$1.<init>(ExtensionManag
    erImpl.java:153)
    at oracle.ideimpl.extension.ExtensionManagerImpl.createHookVisitorFactor
    y(ExtensionManagerImpl.java:152)
    at javax.ide.extension.ExtensionRegistry.loadExtensions(ExtensionRegistr
    y.java:259)
    at oracle.ideimpl.extension.ExtensionManagerImpl.loadExtensions(Extensio
    nManagerImpl.java:376)
    at javax.ide.extension.ExtensionRegistry.loadExtensions(ExtensionRegistr
    y.java:171)
    at javax.ide.extension.ExtensionRegistry.initialize(ExtensionRegistry.ja
    va:382)
    at oracle.ideimpl.extension.ExtensionManagerImpl.initialize(ExtensionMan
    agerImpl.java:875)
    at javax.ide.Service.getService(Service.java:68)
    at javax.ide.extension.ExtensionRegistry.getExtensionRegistry(ExtensionR
    egistry.java:401)
    at oracle.ide.ExtensionRegistry.getOracleRegistry(ExtensionRegistry.java
    :140)
    at oracle.ide.IdeCore.startupImpl(IdeCore.java:1122)
    at oracle.ide.Ide.startup(Ide.java:642)
    at oracle.ideimpl.DefaultIdeStarter.startIde(DefaultIdeStarter.java:35)
    at oracle.ideimpl.Main.start(Main.java:90)
    at oracle.ideimpl.Main.main(Main.java:51)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at oracle.ide.boot.PCLMain.callMain(PCLMain.java:45)
    at oracle.ide.boot.PCLMain.main(PCLMain.java:37)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at oracle.classloader.util.MainClass.invoke(MainClass.java:89)
    at oracle.ide.boot.IdeLauncher.bootClassLoadersAndMain(IdeLauncher.java:
    218)
    at oracle.ide.boot.IdeLauncher.launchImpl(IdeLauncher.java:90)
    at oracle.ide.boot.IdeLauncher.launch(IdeLauncher.java:66)
    at oracle.ide.boot.IdeLauncher.main(IdeLauncher.java:55)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at oracle.ide.boot.Launcher.invokeMain(Launcher.java:508)
    at oracle.ide.boot.Launcher.launchImpl(Launcher.java:106)
    at oracle.ide.boot.Launcher.launch(Launcher.java:60)
    at oracle.ide.boot.Launcher.main(Launcher.java:49)
    "VM Thread" prio=6 tid=0x010058e0 nid=0xde8 runnable
    "VM Periodic Task Thread" prio=6 tid=0x01011ff8 nid=0xeb8 waiting on condition
    Product extension oracle.sqldeveloper could not be loaded. The product cannot st
    art.
    Disabled extensions:
    oracle.ide.xmlef: Missing dependencies: oracle.ide.daf, oracle.ide.palette2
    C:\Program Files\SQLDeveloper\sqldeveloper\bin>sqldeveloper -J-Dide.extension.lo
    g.to.console=true
    WARNING: Unknown directive: SetSkipJ2SDKCheck
    Using oracle.home=C:\Program Files\SQLDeveloper
    Using ide.user.dir=null
    Product extension oracle.sqldeveloper could not be loaded. The product cannot st
    art.
    Disabled extensions:
    oracle.ide.xmlef: Missing dependencies: oracle.ide.daf, oracle.ide.palette2
    C:\Program Files\SQLDeveloper\sqldeveloper\bin>

  • How to execute command(program) from external file in Oracle SQL developer

    Hi,
    Does anyone know, Oracle SQL developer version 1.0.0.14.67 got any function that can execute command from an external file?
    Example, i have 100 insert SQL inside a text file,
    and i want to use Oracle SQL developer to execute it. How do i read from my text file? Thanks a lots.

    If you're new to Oracle, do yourself and us a favour: read some tutorials and manuals. What sqldev's worth, better download the latest version (1.1.2), lots of fixes and enhancements...
    Now for the big popper: to run an external file: @file
    Best of luck,
    K.

  • Issue with java.lang.ClassCastException: oracle.sql.StructDescriptor

    Hi ,
    I'm creating a dbadapter for a custom API written in APPS schema -
    TYPE MISIPM_LOB IS RECORD (
    FILE_ID IPM_LOBS.FILE_ID%TYPE,
    FILE_NAME IPM_LOBS.LOB_NAME%TYPE );
    TYPE MISIPM_LOB_LIST IS TABLE OF MISIPM_LOB;
    PROCEDURE GET_FILE_ID_DETAILS(
    P_SOURCE_SYSTEM IN VARCHAR2,
    p_entity_value IN VARCHAR2,
    p_entity_code IN VARCHAR2,
    P_ORG_ID IN NUMBER,
    P_MISIPM_FILES_LIST OUT MISIPM_LOB_LIST,
    P_ERRCODE OUT VARCHAR2,
    P_ERRMESSAGE OUT VARCHAR2);
    From JDeveloper, there is a wrapper package is getting created and the compilation/deployment of this composite is also without any error.
    But when I run the composite, I'm surprisingly getting the below error -
    Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'GetAttachmentMetaData' failed due to: Interaction processing error. Error while processing the execution of the APPS.BPEL_GETATTACHMENTMETADATA1.XX_DELIVER_BLOB$GET_FILE_ API interaction. An error occurred while processing the interaction for invoking the APPS.BPEL_GETATTACHMENTMETADATA1.XX_DELIVER_BLOB$GET_FILE_ API. Cause: java.lang.ClassCastException: oracle.sql.StructDescriptor Check to ensure that the XML containing parameter data matches the parameter definitions in the XSD. This exception is considered not retriable, likely due to a modelling mistake. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution.
    I recreated the adapter multiple times within the composite and also tried to create a separate composite and all the cases the error message received was same. There two more similar procedure call's in the composite and all rest of them are working fine.
    I can call the wrapper from sql script separately.
    Verified that the XSD generated and the wrapper package parameters are matching as well.
    Did anyone face the same issue or any explanation/help is much appreciated.
    Regards,
    Debanjan

    Hi Vijay,
    I have checked the number of parameters as well.
    <element name="InputParameters">
    <complexType>
    <sequence>
    <element name="P_SOURCE_SYSTEM" type="string" db:index="1" db:type="VARCHAR2" minOccurs="0" nillable="true"/>
    <element name="P_ENTITY_VALUE" type="string" db:index="2" db:type="VARCHAR2" minOccurs="0" nillable="true"/>
    <element name="P_ENTITY_CODE" type="string" db:index="3" db:type="VARCHAR2" minOccurs="0" nillable="true"/>
    <element name="P_ORG_ID" type="decimal" db:index="4" db:type="NUMBER" minOccurs="0" nillable="true"/>
    </sequence>
    </complexType>
    </element>
    <element name="OutputParameters">
    <complexType>
    <sequence>
    <element name="P_MISIPM_FILES_LIST" type="db:APPS.XX_DELIVER_X35784324X1X5" db:index="5" db:type="Array" minOccurs="0" nillable="true"/>
    <element name="P_ERRCODE" type="string" db:index="6" db:type="VARCHAR2" minOccurs="0" nillable="true"/>
    <element name="P_ERRMESSAGE" type="string" db:index="7" db:type="VARCHAR2" minOccurs="0" nillable="true"/>
    </sequence>
    </complexType>
    </element>
    <complexType name="APPS.XX_DELIVER_X35784324X1X6">
    <sequence>
    <element name="FILE_ID" type="decimal" db:type="NUMBER" minOccurs="0" nillable="true"/>
    <element name="FILE_NAME" db:type="VARCHAR2" minOccurs="0" nillable="true">
    <simpleType>
    <restriction base="string">
    <maxLength value="2000"/>
    </restriction>
    </simpleType>
    </element>
    </sequence>
    </complexType>
    <complexType name="APPS.XX_DELIVER_X35784324X1X5">
    <sequence>
    <element name="P_MISIPM_FILES_LIST_ITEM" type="db:APPS.XX_DELIVER_X35784324X1X6" db:type="Struct" minOccurs="0" maxOccurs="unbounded" nillable="true"/>
    </sequence>
    </complexType>
    Regards,
    Debanjan

  • Issues using Oracle SQL server Developer migration work bench

    Hi all,
    We are trying to migrate the application databases from SQL server 2000 to Oracle 10g using Oracle SQL Developer 1.2.1.32.13:
    Following is the list of issues that we faced while trying out this migration on dev environment.
    1. The data migration was successful for only around 90 tables out of the total 166 tables present. No error message was logged for the rest of the tables but still it was completed.
    2. Some of the tables which had got the data inserted did not have the full data. Only some of the rows were inserted for these tables. Error message was logged only for few of the rows and not all.
    3. Few error messages were logged which said problems about “Inserting ' ' into column <tablename>.<columnname>”. There was no such constraint in the target database that the particular column can not be null or can not have only a space. Please check the logs for the same error messages.
    4. The status box at the end of migration had shown only 3 errors.
    5. The total data for migration was around 500MB. The time taken for migration was around 75 minutes. Are there any optimization techniques that will improve the performance?
    Please note that there were no Foreign Key references for the source schema or target schema.
    Any pointers/info/resolutions related to above mentioned issues will be much useful for us.
    Thanks,

    Hi Adam,
    There are 2 sets of scripts created for you.
    1) For SQL Servers BCP to dump out the data to dat files
    2) For Oracles SQL*Loader to load the dat files
    You run the SQL Server BCP scripts on the machine with SQL Server.
    The dat files will be dumped out on that server.
    You can then move the dat files to your Oracle server.
    Then run the Oracle SQL*Loader scripts to load the dat files into Oracle.
    Give it a go and follow the doc and viewlets.
    Your Questions:
    So the datadump from the source location would be saved on my local disk?it will be saved on the same machine you run the bcp scripts from. Usually the same machine SQL Server is on, because you require SQL Server BCP tool.
    So once it is migrated to the destination database will that dump be created automatically? Or do I need to modify the script to take care of this?I dont know what you mean by this, hopefully above clears things up.
    The only modifications you need to make to the scripts are adding in the databasename username password servername. These are outlined in the scripts themselves. I would want to do something fancy like dump the dat files to a different directory, then you can modify the scripts, but you should understand what they do first.
    Most people would have 500MB of space on their discs , so I can see the problem creating these dat files . The same goes for your 30 GB database.
    I hope this helps, but as always you wont get a good idea of how it works until you give it a go.
    Regards,
    Dermot.

  • Deadlock in Oracle.sql.ARRAY type

    Hi,
    We've come across the deadlock situation below when running multiple J2EE MDB instances that are trying to write to the DB:
    [deadlocked thread] [ACTIVE] ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)':
    Thread '[ACTIVE] ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'' is waiting to acquire lock 'oracle.jdbc.driver.T4CConnection@90106ee' that is held by thread '[ACTIVE] ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)''
    Stack trace:
    oracle.sql.ARRAY.toBytes(ARRAY.java:673)
    oracle.jdbc.driver.OraclePreparedStatement.setArrayCritical(OraclePreparedStatement.java:5985)
    oracle.jdbc.driver.OraclePreparedStatement.setARRAYInternal(OraclePreparedStatement.java:5944)
    oracle.jdbc.driver.OraclePreparedStatement.setObjectCritical(OraclePreparedStatement.java:8782)
    oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:8278)
    oracle.jdbc.driver.OraclePreparedStatement.setObject(OraclePreparedStatement.java:8868)
    oracle.jdbc.driver.OraclePreparedStatementWrapper.setObject(OraclePreparedStatementWrapper.java:240)
    weblogic.jdbc.wrapper.PreparedStatement.setObject(PreparedStatement.java:287)
    org.springframework.jdbc.core.StatementCreatorUtils.setValue(StatementCreatorUtils.java:356)
    org.springframework.jdbc.core.StatementCreatorUtils.setParameterValueInternal(StatementCreatorUtils.java:216)
    org.springframework.jdbc.core.StatementCreatorUtils.setParameterValue(StatementCreatorUtils.java:127)
    org.springframework.jdbc.core.PreparedStatementCreatorFactory$PreparedStatementCreatorImpl.setValues(PreparedStatementCreatorFactory.java:298)
    org.springframework.jdbc.object.BatchSqlUpdate$1.setValues(BatchSqlUpdate.java:192)
    org.springframework.jdbc.core.JdbcTemplate$4.doInPreparedStatement(JdbcTemplate.java:892)
    org.springframework.jdbc.core.JdbcTemplate$4.doInPreparedStatement(JdbcTemplate.java:1)
    org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:586)
    org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:614)
    org.springframework.jdbc.core.JdbcTemplate.batchUpdate(JdbcTemplate.java:883)
    org.springframework.jdbc.object.BatchSqlUpdate.flush(BatchSqlUpdate.java:184)
    com.csfb.fao.rds.rfi.common.dao.storedprocs.SaveEarlyExceptionBatchStoredProc.execute(SaveEarlyExceptionBatchStoredProc.java:93)
    com.csfb.fao.rds.rfi.common.dao.EarlyExceptionDAOImpl.saveEarlyExceptionBatch(EarlyExceptionDAOImpl.java:34)
    com.csfb.fao.rds.rfi.application.rulesengine.RulesEngine.saveEarlyExceptions(RulesEngine.java:302)
    com.csfb.fao.rds.rfi.application.rulesengine.RulesEngine.executeRules(RulesEngine.java:209)
    com.csfb.fao.rds.rfi.application.rulesengine.RulesEngine.onMessage(RulesEngine.java:97)
    com.csfb.fao.rds.feeds.process.BaseWorkerMDB.onMessage(BaseWorkerMDB.java:518)
    weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
    weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
    weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
    weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4547)
    weblogic.jms.client.JMSSession.execute(JMSSession.java:4233)
    weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3709)
    weblogic.jms.client.JMSSession.access$000(JMSSession.java:114)
    weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5058)
    weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
    weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    [deadlocked thread] [ACTIVE] ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)':
    Thread '[ACTIVE] ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)'' is waiting to acquire lock 'oracle.jdbc.driver.T4CConnection@b48b568' that is held by thread '[ACTIVE] ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)''
    Stack trace:
    oracle.sql.ARRAY.toBytes(ARRAY.java:673)
    oracle.jdbc.driver.OraclePreparedStatement.setArrayCritical(OraclePreparedStatement.java:5985)
    oracle.jdbc.driver.OraclePreparedStatement.setARRAYInternal(OraclePreparedStatement.java:5944)
    oracle.jdbc.driver.OraclePreparedStatement.setObjectCritical(OraclePreparedStatement.java:8782)
    oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:8278)
    oracle.jdbc.driver.OraclePreparedStatement.setObject(OraclePreparedStatement.java:8868)
    oracle.jdbc.driver.OraclePreparedStatementWrapper.setObject(OraclePreparedStatementWrapper.java:240)
    weblogic.jdbc.wrapper.PreparedStatement.setObject(PreparedStatement.java:287)
    org.springframework.jdbc.core.StatementCreatorUtils.setValue(StatementCreatorUtils.java:356)
    org.springframework.jdbc.core.StatementCreatorUtils.setParameterValueInternal(StatementCreatorUtils.java:216)
    org.springframework.jdbc.core.StatementCreatorUtils.setParameterValue(StatementCreatorUtils.java:127)
    org.springframework.jdbc.core.PreparedStatementCreatorFactory$PreparedStatementCreatorImpl.setValues(PreparedStatementCreatorFactory.java:298)
    org.springframework.jdbc.object.BatchSqlUpdate$1.setValues(BatchSqlUpdate.java:192)
    org.springframework.jdbc.core.JdbcTemplate$4.doInPreparedStatement(JdbcTemplate.java:892)
    org.springframework.jdbc.core.JdbcTemplate$4.doInPreparedStatement(JdbcTemplate.java:1)
    org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:586)
    org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:614)
    org.springframework.jdbc.core.JdbcTemplate.batchUpdate(JdbcTemplate.java:883)
    org.springframework.jdbc.object.BatchSqlUpdate.flush(BatchSqlUpdate.java:184)
    com.csfb.fao.rds.rfi.common.dao.storedprocs.SaveEarlyExceptionBatchStoredProc.execute(SaveEarlyExceptionBatchStoredProc.java:93)
    com.csfb.fao.rds.rfi.common.dao.EarlyExceptionDAOImpl.saveEarlyExceptionBatch(EarlyExceptionDAOImpl.java:34)
    com.csfb.fao.rds.rfi.application.rulesengine.RulesEngine.saveEarlyExceptions(RulesEngine.java:302)
    com.csfb.fao.rds.rfi.application.rulesengine.RulesEngine.executeRules(RulesEngine.java:209)
    com.csfb.fao.rds.rfi.application.rulesengine.RulesEngine.onMessage(RulesEngine.java:97)
    com.csfb.fao.rds.feeds.process.BaseWorkerMDB.onMessage(BaseWorkerMDB.java:518)
    weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
    weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
    weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
    weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4547)
    weblogic.jms.client.JMSSession.execute(JMSSession.java:4233)
    weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3709)
    weblogic.jms.client.JMSSession.access$000(JMSSession.java:114)
    weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5058)
    weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
    weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Looking at the ARRAY.toBytes() method:
    public byte[] toBytes()
    throws SQLException
    synchronized (getInternalConnection())
    return this.descriptor.toBytes(this, this.enableBuffering);
    ..., it synchronizes on the following method (getInternalConnection() -> getPhysicalConnection()):
    oracle.jdbc.internal.OracleConnection getPhysicalConnection()
    if (this.physicalConnection == null)
    try
    this.physicalConnection = ((oracle.jdbc.internal.OracleConnection)new OracleDriver().defaultConnection());
    catch (SQLException localSQLException)
    return this.physicalConnection;
    defaultConnection() does the following:
    public Connection defaultConnection()
    throws SQLException
    if ((defaultConn == null) || (defaultConn.isClosed()))
    synchronized (OracleDriver.class)
    if ((defaultConn == null) || (defaultConn.isClosed()))
    defaultConn = connect("jdbc:oracle:kprb:", new Properties());
    return defaultConn;
    So there's synchronizations on the connection instance and OracleDriver.class object... I can't see how this can deadlock. To get to the point of needing the lock on OracleDriver.class, the thread would already have the lock on the connection instance.... clearly I'm missing something.
    Thanks
    Edited by: 928154 on 17-Apr-2012 03:42

    Welcome to the forum. If you want help, at least try to think where to post a question and look for a forum that matches the topic. Lets examine what you have:
    - its Weblogic, so if you would ask a non-programming related question anywhere it would be in the Weblogic forum
    - HOWEVER, if you check the top of the stacktrace, you'll see that the problem stems from the JDBC driver, so a JDBC related forum would be a closer match
    For future reference, Weblogic specific questions should go here: https://forums.oracle.com/forums/category.jspa?categoryID=193
    and JDBC/OJDBC driver related questions should go here: Java Database Connectivity (JDBC)
    Final tip: use \ tags to post code so it is readable.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Using DEBUG Mode in Oracle SQL Developer Data Modeler to Log SQL

    Hello,
    I am looking for the possibilty to enable the logging of SQL in Data Modeler.
    Jeff Smith wrote an article how to do this for SQL Developer, for Data Modeler there are other configuration files. Does anyone have an idea?
    Best regards,
    Joop

    Hello Philip,
    the URL to the article of Jeff is: http://www.thatjeffsmith.com/archive/2012/10/using-debug-mode-in-oracle-sql-developer-to-log-sql/
    in the install directory of Data Modeler 3.3.0.734 exists a file datamodeler\datamodeler\bin\datamodeler.conf. This analogue the situation for sql Developer.
    However in this file there is no reference to a (non)debug file.
    In ide/bin directory there is a ide-logging-debug.conf and ide-logging.conf file. But they are not referenced. Should one of them be included?
    Joop

  • SSL in Oracle SQL Developer?

    PCI DSS (related to protection of credit card data) requires that I have to implement a 2-factor authentication. The 2 factor authentication that I am going to implement is password protection and token encryption like SSL (secure sockets layer).
    When I am trying to access my remote DB using SQL Developer, I will use a password to get connected. In addition to that, I will try to use something like HTTPS which supports SSL. Is there an inbuilt-mechanism for Oracle SQL Developer to support SSL or do we have to configure it manually or is there some other mechanism in place?

    Thats odd.
    Do you see any exceptions in console ? (to see the console launch sqldeveloper.exe in ../sqldeveloper/sqldeveloper/bin dir.)
    -Raghu

Maybe you are looking for