Error during data pump import with SQL developer

Hello,
I try to trasnfer data from one database to another one through data pump via SQL Developper (data amount is quite important) exporting several tables.
Tables export is doing fine, but I encounter the following error when I import the file (I try data only and data + DDL).
"Exception: ORA-39001: argument value invalid dbms_datapump.get_status(64...=
ORA-39001: argument value invalid
ORA-39000: ....
ORA-31619: ...
The file is in the right place, data pump folder of the new database. User is the same on both base, database version are similar.
Do you have any idea of the problem ?
Thanks

With query SELECT * FROM v$version;
Environment source
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
PL/SQL Release 11.2.0.1.0 - Production
"CORE     11.2.0.1.0     Production"
TNS for Linux: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
Environment target
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
PL/SQL Release 11.2.0.1.0 - Production
"CORE     11.2.0.1.0     Production"
TNS for Linux: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production

Similar Messages

  • What version of Data Modeler comes with SQL Developer EA 3.1?

    Hi:
    I've looked but can't find what version of Data Modeler is shipped with SQL Developer 3.1 EA1. Is it Data Modeler EA 3.1 or the production Data Modeler 3.0 version?
    Thanks,
    Doc

    Hi:
    I ran an import and here's what the log showed...so it looks like SQL Developer EA 3.1 uses the production version of SQL Data Modeler...3.0.
    Oracle SQL Developer Data Modeler 3.0.0.665.2
    Oracle SQL Developer Data Modeler Import Log
    Date and Time: 2011-11-14 14:19:42 PST
    Design Name:
    RDBMS: Oracle Database 10g

  • Fatal error in data pump import

    Hi
    Please help me in solving this error while importing data from dmp file
    Import: Release 10.1.0.2.0 - Production on Thursday, 15 February, 2007 3:54
    Copyright (c) 2003, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Master table "SYSTEM"."SYS_SQL_FILE_FULL_02" successfully loaded/unloaded
    Starting "SYSTEM"."SYS_SQL_FILE_FULL_02": system/******** directory=data_pump dumpfile=prashant_dp.
    dmp SQLFILE=prashant_imp.sql logfile=prashant_imp.log
    Processing object type TABLE_EXPORT/TABLE/TABLE
    ORA-39125: Worker unexpected fatal error in KUPW$WORKER.PUT_DDLS while calling DBMS_METADATA.CONVERT
    ORA-06502: PL/SQL: numeric or value error
    LPX-00210: expected '<' instead of 'n'
    ----- PL/SQL Call Stack -----
    object line object
    handle number name
    0x540a0b7c 13460 package body SYS.KUPW$WORKER
    0x540a0b7c 5810 package body SYS.KUPW$WORKER
    0x540a0b7c 11153 package body SYS.KUPW$WORKER
    0x540a0b7c 2891 package body SYS.KUPW$WORKER
    0x540a0b7c 3530 package body SYS.KUPW$WORKER
    0x540a0b7c 6395 package body SYS.KUPW$WORKER
    0x540a0b7c 1208 package body SYS.KUPW$WORKER
    0x534beb10 2 anonymous block
    Job "SYSTEM"."SYS_SQL_FILE_FULL_02" stopped due to fatal error at 03:54

    here are trace files [http://files.mail.ru/B05EBC4402A342D0AE1E88BFB04191DB|http://files.mail.ru/B05EBC4402A342D0AE1E88BFB04191DB]
    error here:
    KUPM:12:47:19.571: Error detected by MCP
    KUPM:12:47:19.572: ORA-39014: One or more workers have prematurely exited.
    KUPM:12:47:19.572: ORA-39029: worker 1 with process name "DW00" prematurely terminated
    KUPM:12:47:19.572: ORA-31671: Worker process DW00 had an unhandled exception.
    ORA-39079: unable to enqueue message RQ
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
    ORA-06512: at "SYS.KUPC$QUE_INT", line 965
    ORA-00931: missing identifier
    ORA-06512: at "SYS.KUPW$WORKER", line 16746
    ORA-06512: at "SYS.KUPW$WORKER", line 19035
    ORA-06512: at "SYS.KUPW$WORKER", line 8191
    ORA-39126: Worker unexpected fatal error in KUPW$WORKER.MAIN []
    ORA-06512: at "SYS.KUPW$WORKER", line 1705
    ORA-44002: invalid object name
    ORA-06512: at line 2
    KUPM:12:47:19.577: In restart_worker for worker 1...
    KUPM:12:47:19.577: Error being processed is:  -26457
    KUPM:12:47:19.577: worker id is:
    KUPM:12:47:19.577: Worker error is: 0
    KUPM:12:47:19.577: Exited main loop...
    KUPM:12:47:19.577: Returned to MAIN
    KUPV:12:47:19.577: Update request for job: SYSTEM.SYS_IMPORT_FULL_03, func: 1
    KUPM:12:47:19.578: Entered state: UNDEFINED
    KUPM:12:47:19.578: In RESPOND_TO_START
    KUPC:12:47:19.578: Before ENQ: Sending Type: 2041 ID:
    KUPC:12:47:19.578:  RP,KUPC$C_1_20130603124648,MCP,KUPC$A_1_20130603124649,10,Y
    kwqberlst !retval block
    kwqberlst rqan->lagno_kwqiia  5
    kwqberlst rqan->lascn_kwqiia > 0 block
    kwqberlst rqan->lascn_kwqiia  5
    kwqberlst ascn 2375213 lascn 22
    KUPM:12:47:19.579: In check_workers...
    KUPM:12:47:19.579: Live worker count is:  0
    KUPM:12:47:19.579: worker id is:
    KUPM:12:47:19.579: Worker error is: 0
    KUPM:12:47:19.579: Job is completing

  • Exclude DBMS_SCHEDULER jobs in DATA PUMP import

    Hello,
    I need to exclude all DBMS_SCHEDULER jobs during DATA PUMP import.
    I tried to do this with: EXCLUDE=JOB but this only works on DBMS_JOB.
    Is there a way to exclude all DBMS_SCHEDULER jobs during import?
    Kind Regards

    There are PROCOBJ that can be excluded (Procedural objects in the selected schemas) but I'm affraid it exclude not only DBMS_SCHEDULER jobs.
    Any ideas?

  • Statement terminator problems when exporting data with SQL Developer 3.2

    I've ran across what appears to be a bug with SQL Developer 3.2.20.09. If someone can let me know if this is indeed a bug, or just something I need to configure differently, please let me know.
    The problem is related to exporting a database as a SQL script, and terminator characters at the end of "create" statements, especially when columns have comments, and problems that occur when using SQLPlus to run the export script to create the tables. With the old SQL Developer 1.5.4, with the "Terminator" and "Pretty Print" options checked, statements like the following are generated:
    -- DDL for Type NUM_ARRAY
    CREATE OR REPLACE TYPE "NUM_ARRAY"
    IS TABLE OF NUMBER(20)
    -- DDL for Sequence MYTABLE_SEQ
    CREATE SEQUENCE "MYTABLE_SEQ" MINVALUE 1 MAXVALUE 999999999999999999999999999 INCREMENT BY 1 START WITH 1 CACHE 20 NOORDER NOCYCLE ;
    -- DDL for Table MYTABLE
    CREATE TABLE "MYTABLE"
    (     "MYTABLE_ID" NUMBER,
         "COL2" NUMBER,
         "COL3" NUMBER
    -- DDL for Table ANOTHERTABLE
    CREATE TABLE "ANOTHERTABLE"
    (     "ANOTHERTABLE_ID" NUMBER,
         "COL2" VARCHAR2(1024),
         "COL3" VARCHAR2(1024)
    COMMENT ON COLUMN "ANOTHERTABLE"."ANOTHERTABLE_ID" IS 'This is a comment.';
    When I then run the script using SQLPlus, everything works fine. However, with SQL Developer 3.2.20.09, with the same options enabled, the same statements are generated like this:
    -- DDL for Type NUM_ARRAY
    CREATE OR REPLACE TYPE "NUM_ARRAY"
    IS TABLE OF NUMBER(20)
    -- DDL for Sequence MYTABLE_SEQ
    CREATE SEQUENCE "MYTABLE_SEQ" MINVALUE 1 MAXVALUE 999999999999999999999999999 INCREMENT BY 1 START WITH 1 CACHE 20 NOORDER NOCYCLE ;
    -- DDL for Table MYTABLE
    CREATE TABLE "MYTABLE"
    (     "MYTABLE_ID" NUMBER,
         "COL2" NUMBER,
         "COL3" NUMBER
    -- DDL for Table ANOTHERTABLE
    CREATE TABLE "ANOTHERTABLE"
    (     "ANOTHERTABLE_ID" NUMBER,
         "COL2" VARCHAR2(1024),
         "COL3" VARCHAR2(1024)
    COMMENT ON COLUMN "ANOTHERTABLE"."ANOTHERTABLE_ID" IS 'This is a comment.';
    Notice all of the extra slashes in there. If a slash is not used as a statement terminator, SQLPlus treats slashes as a command to repeat the last SQL statement, which causes many errors about tables or sequences already existing. So, I tried removing the "Terminator" flag from the export options. This lead to statements that looked a bit more promising:
    -- DDL for Type NUM_ARRAY
    CREATE OR REPLACE TYPE "NUM_ARRAY"
    IS TABLE OF NUMBER(20)
    -- DDL for Sequence MYTABLE_SEQ
    CREATE SEQUENCE "MYTABLE_SEQ" MINVALUE 1 MAXVALUE 999999999999999999999999999 INCREMENT BY 1 START WITH 1 CACHE 20 NOORDER NOCYCLE
    -- DDL for Table MYTABLE
    CREATE TABLE "MYTABLE"
    (     "MYTABLE_ID" NUMBER,
         "COL2" NUMBER,
         "COL3" NUMBER
    -- DDL for Table ANOTHERTABLE
    CREATE TABLE "ANOTHERTABLE"
    (     "ANOTHERTABLE_ID" NUMBER,
         "COL2" VARCHAR2(1024),
         "COL3" VARCHAR2(1024)
    COMMENT ON COLUMN "ANOTHERTABLE"."ANOTHERTABLE_ID" IS 'This is a comment.'
    The big problem, though, is in the statement for the table with a comment. Notice that there are two statements, but there is not a semicolon after either of them. This unfortunately causes the "COMMENT" statement to be appended to the "CREATE TABLE" statement before being executed, which causes the table to not be created (which causes even more errors later on when the script attempts to populate the table with data).
    So, it would appear that this is a bug, but I'm not sure. Is there a way I can configure the export options to make SQL Developer export these statements like it used to in older versions?
    Thanks,
    -Bill

    >
    So, it would appear that this is a bug, but I'm not sure.
    >
    That would be a bug. Thanks for reporting it and providing the detailed example.
    >
    Is there a way I can configure the export options to make SQL Developer export these statements like it used to in older versions?
    >
    No.
    Leave the thread open. One of the developers for sql developer should be monitoring the forum and can provide more information.

  • Jdbc-OCI:112020 Error with SQL Developer 4.0.0.12

    Hi,
    I receive an error, Incompatible version of libocijdbc[Jdbc:112030, Jdbc-OCI:112020, when attempting to log into an existing connection with SQL Developer 4.0.0.12.  I do have the JDK 7u45 for 32 bit Windows 7.  I know this was an issue in the past and attempted to look at earlier solutions with no luck.  Any idea?

    The issue is that if you are using the OCI (thick) JDBC  driver the version of the JDBC library (in SQLDeveloper) must match the version in your ORACLE_HOME. 
    It seems SQLDeveloper 4 ships with 11.2.0.3 version of JDBC and you have 11.2.0.2 client installed.
    Possible options:
    1     Don't use the OCI driver.  You can untick the box in Tools |Preferences|Database |Advanced, but some connection types use it anyway.
    2     Upgrade your Oracle client.

  • DMSConsole error when connecting with Sql Developer 3

    It's been over a month, and we can't get SQL Developer 3 to do anything useful.
    Our older Sql Developer 1.5.5 is connecting ok.
    We have no CLASSPATHs defined, and all of the other Sql/Oracle tools are running fine, including Pl/Sql Developer. And we have no problem coding Java apps in Intellij, and executing them.
    The DMS Jar
    ojdbc6dms.jar
    is located in
    c:\app\ChildeDE\product\11.2.0\client_2\sqldeveloper_3\sqldeveloper\lib\
    It's a class not found error, whenever we try any defined connection (imported from sql developer 1.1.5):
    Error connecting
    oracle/dms/console/DMSConsole
    Stack Trace:
    java.lang.NoClassDefFoundError: oracle/dms/console/DMSConsole
    ...

    Not sure how to make sense of all this. Also, the Oracle_home is already set to a folder; should this be modified in the local session, whenever sqldeveloper runs?
    TCC 14.03.59 Windows 7 [Version 6.1.7601]
    Copyright 2013 JP Software Inc. All Rights Reserved
    Registered to xxxxxx - 1 System License
    alias /r alias.lst
    rem set /r envir.lst
    [C:\Program Files (x86)\JPSoft\TCMD14]cd c:\app\ChildeDE\product\11.2.0\client_2\sqldeveloper03\sqldeveloper\sqldeveloper\bin\
    [C:\app\ChildeDE\product\11.2.0\client_2\sqldeveloper03\sqldeveloper\sqldeveloper\bin]set oracle_home
    c:\app\ChildeDE\product\11.2.0
    [C:\app\ChildeDE\product\11.2.0\client_2\sqldeveloper03\sqldeveloper\sqldeveloper\bin]sqldeveloper
    Registered TimesTen
    2013-02-08 07:46:36
    Full thread dump Java HotSpot(TM) Client VM (20.10-b01 mixed mode):
    "Keep-Alive-Timer" daemon prio=8 tid=0x3eada800 nid=0x1454 waiting on condition [0x436cf000]
    java.lang.Thread.State: TIMED_WAITING (sleeping)
    at java.lang.Thread.sleep(Native Method)
    at sun.net.www.http.KeepAliveCache.run(KeepAliveCache.java:149)
    at java.lang.Thread.run(Thread.java:662)
    "IconOverlayTracker Timer" prio=6 tid=0x3eadb000 nid=0xb60 in Object.wait() [0x437cf000]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x13c660d0> (a java.util.TaskQueue)
    at java.lang.Object.wait(Object.java:485)
    at java.util.TimerThread.mainLoop(Timer.java:483)
    - locked <0x13c660d0> (a java.util.TaskQueue)
    at java.util.TimerThread.run(Timer.java:462)
    "WaitCursor-Timer" prio=6 tid=0x3ead9800 nid=0xc2c in Object.wait() [0x42a6f000]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x139dfa98> (a java.util.TaskQueue)
    at java.lang.Object.wait(Object.java:485)
    at java.util.TimerThread.mainLoop(Timer.java:483)
    - locked <0x139dfa98> (a java.util.TaskQueue)
    at java.util.TimerThread.run(Timer.java:462)
    "Timer queue for AWT thread" daemon prio=6 tid=0x3ead9000 nid=0x13cc in Object.wait() [0x4296f000]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x13285dc8> (a java.lang.Object)
    at java.lang.Object.wait(Object.java:485)
    at ice.util.awt.TimedAWTExecutor.nextElem(TimedAWTExecutor.java:108)
    - locked <0x13285dc8> (a java.lang.Object)
    at ice.util.awt.TimedAWTExecutor.runScheduler(TimedAWTExecutor.java:130)
    at ice.util.awt.TimedAWTExecutor$1.run(TimedAWTExecutor.java:19)
    "BaseTreeExplorer.NodeOpeningExecutor" prio=6 tid=0x3ead8c00 nid=0xffc waiting on condition [0x4220f000]
    java.lang.Thread.State: WAITING (parking)
    at sun.misc.Unsafe.park(Native Method)
    - parking to wait for <0x132988e8> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
    at java.util.concurrent.locks.LockSupport.park(LockSupport.java:156)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1987)
    at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:399)
    at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:947)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
    at java.lang.Thread.run(Thread.java:662)
    "pool-2-thread-1" prio=6 tid=0x3ead8400 nid=0x11e4 waiting on condition [0x420cf000]
    java.lang.Thread.State: WAITING (parking)
    at sun.misc.Unsafe.park(Native Method)
    - parking to wait for <0x13298a20> (a java.util.concurrent.SynchronousQueue$TransferStack)
    at java.util.concurrent.locks.LockSupport.park(LockSupport.java:156)
    at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:422)
    at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:323)
    at java.util.concurrent.SynchronousQueue.take(SynchronousQueue.java:857)
    at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:947)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
    at java.lang.Thread.run(Thread.java:662)
    "Scheduler" daemon prio=6 tid=0x3ead7c00 nid=0x4b4 in Object.wait() [0x41f8f000]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x13298b40> (a oracle.dbtools.raptor.backgroundTask.TaskLinkedList)
    at java.lang.Object.wait(Object.java:485)
    at oracle.dbtools.raptor.backgroundTask.TaskLinkedList.takeNextTask(TaskLinkedList.java:47)
    - locked <0x13298b40> (a oracle.dbtools.raptor.backgroundTask.TaskLinkedList)
    at oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$SchedulerThread.run(RaptorTaskManager.java:444)
    "Thread-9" daemon prio=6 tid=0x3ead7800 nid=0x74 in Object.wait() [0x4134f000]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x1305bc78> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118)
    - locked <0x1305bc78> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134)
    at org.tmatesoft.svn.core.javahl.SVNClientImplTracker.run(SVNClientImplTracker.java:65)
    at java.lang.Thread.run(Thread.java:662)
    "TimerQueue" daemon prio=6 tid=0x3ead7000 nid=0x131c in Object.wait() [0x41a4f000]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x12ff6f80> (a javax.swing.TimerQueue)
    at javax.swing.TimerQueue.run(TimerQueue.java:232)
    - locked <0x12ff6f80> (a javax.swing.TimerQueue)
    at java.lang.Thread.run(Thread.java:662)
    "IconOverlayTracker Daemon" prio=6 tid=0x3ead6c00 nid=0x17e0 waiting on condition [0x415cf000]
    java.lang.Thread.State: TIMED_WAITING (parking)
    at sun.misc.Unsafe.park(Native Method)
    - parking to wait for <0x12f90b18> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
    at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:196)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2025)
    at java.util.concurrent.LinkedBlockingQueue.poll(LinkedBlockingQueue.java:424)
    at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:945)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
    at java.lang.Thread.run(Thread.java:662)
    "Thread-7" daemon prio=6 tid=0x3ead6400 nid=0x1158 runnable [0x4148f000]
    java.lang.Thread.State: RUNNABLE
    at sun.print.Win32PrintServiceLookup.notifyPrinterChange(Native Method)
    at sun.print.Win32PrintServiceLookup.access$100(Win32PrintServiceLookup.java:32)
    at sun.print.Win32PrintServiceLookup$PrinterChangeListener.run(Win32PrintServiceLookup.java:302)
    "ChangeSetService" prio=2 tid=0x3fc06400 nid=0x1034 in Object.wait() [0x4124f000]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x128656f0> (a oracle.jdevimpl.vcs.changeset.ChangeSetService)
    at java.lang.Object.wait(Object.java:485)
    at oracle.jdevimpl.vcs.changeset.ChangeSetService.awaitEvents(ChangeSetService.java:178)
    - locked <0x128656f0> (a oracle.jdevimpl.vcs.changeset.ChangeSetService)
    at oracle.jdevimpl.vcs.changeset.ChangeSetService.eventLoop(ChangeSetService.java:199)
    at oracle.jdevimpl.vcs.changeset.ChangeSetService.access$200(ChangeSetService.java:56)
    at oracle.jdevimpl.vcs.changeset.ChangeSetService$2.run(ChangeSetService.java:138)
    at java.lang.Thread.run(Thread.java:662)
    "Image Fetcher 2" daemon prio=8 tid=0x400d1c00 nid=0xe08 in Object.wait() [0x40eff000]
    java.lang.Thread.State: TIMED_WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x11f80708> (a java.util.Vector)
    at sun.awt.image.ImageFetcher.nextImage(ImageFetcher.java:114)
    - locked <0x11f80708> (a java.util.Vector)
    at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:167)
    at sun.awt.image.ImageFetcher.run(ImageFetcher.java:136)
    "TimedCache-Timer" daemon prio=6 tid=0x3d82fc00 nid=0x224 in Object.wait() [0x3ee8f000]
    java.lang.Thread.State: TIMED_WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x11f804c8> (a java.util.TaskQueue)
    at java.util.TimerThread.mainLoop(Timer.java:509)
    - locked <0x11f804c8> (a java.util.TaskQueue)
    at java.util.TimerThread.run(Timer.java:462)
    "JarIndex Timer" daemon prio=6 tid=0x3d809000 nid=0xe80 in Object.wait() [0x3ec4f000]
    java.lang.Thread.State: TIMED_WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x11f80580> (a java.util.TaskQueue)
    at java.util.TimerThread.mainLoop(Timer.java:509)
    - locked <0x11f80580> (a java.util.TaskQueue)
    at java.util.TimerThread.run(Timer.java:462)
    "AWT-EventQueue-0" prio=6 tid=0x3d7fb000 nid=0x1208 in Object.wait() [0x3e68e000]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x11f80638> (a java.awt.EventQueue)
    at java.lang.Object.wait(Object.java:485)
    at java.awt.EventQueue.getNextEvent(EventQueue.java:509)
    - locked <0x11f80638> (a java.awt.EventQueue)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:236)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
    at java.awt.Dialog$1.run(Dialog.java:1044)
    at java.awt.Dialog$3.run(Dialog.java:1096)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.Dialog.show(Dialog.java:1094)
    at java.awt.Component.show(Component.java:1591)
    at java.awt.Component.setVisible(Component.java:1543)
    at java.awt.Window.setVisible(Window.java:843)
    at java.awt.Dialog.setVisible(Dialog.java:984)
    at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:395)
    at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:356)
    at oracle.javatools.dialogs.ExceptionDialog.reallyShowExceptionDialog(ExceptionDialog.java:294)
    at oracle.javatools.dialogs.ExceptionDialog.showExceptionDialog(ExceptionDialog.java:229)
    at oracle.dbtools.raptor.navigator.TypeContainerFilter$ExceptionDialogRunnable.run(TypeContainerFilter.java:241)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:666)
    at java.awt.EventQueue.access$400(EventQueue.java:81)
    at java.awt.EventQueue$2.run(EventQueue.java:627)
    at java.awt.EventQueue$2.run(EventQueue.java:625)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:636)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    "Image Fetcher 3" daemon prio=8 tid=0x3d7fa000 nid=0x7c0 in Object.wait() [0x3e54f000]
    java.lang.Thread.State: TIMED_WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x11f80708> (a java.util.Vector)
    at sun.awt.image.ImageFetcher.nextImage(ImageFetcher.java:114)
    - locked <0x11f80708> (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=0x3d7d8400 nid=0x7a8 runnable [0x3e40f000]
    java.lang.Thread.State: RUNNABLE
    at sun.awt.windows.WToolkit.eventLoop(Native Method)
    at sun.awt.windows.WToolkit.run(WToolkit.java:293)
    at java.lang.Thread.run(Thread.java:662)
    "AWT-Shutdown" prio=6 tid=0x3d7d7c00 nid=0x1380 in Object.wait() [0x3e2cf000]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x11f80818> (a java.lang.Object)
    at java.lang.Object.wait(Object.java:485)
    at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:265)
    - locked <0x11f80818> (a java.lang.Object)
    at java.lang.Thread.run(Thread.java:662)
    "Java2D Disposer" daemon prio=10 tid=0x3d7d1800 nid=0x1218 in Object.wait() [0x3e18f000]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x11f808b0> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118)
    - locked <0x11f808b0> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134)
    at sun.java2d.Disposer.run(Disposer.java:127)
    at java.lang.Thread.run(Thread.java:662)
    "Low Memory Detector" daemon prio=6 tid=0x02514000 nid=0xc94 runnable [0x00000000]
    java.lang.Thread.State: RUNNABLE
    "C1 CompilerThread0" daemon prio=10 tid=0x02512400 nid=0x106c waiting on condition [0x00000000]
    java.lang.Thread.State: RUNNABLE
    "Attach Listener" daemon prio=10 tid=0x02511000 nid=0x11e0 runnable [0x00000000]
    java.lang.Thread.State: RUNNABLE
    "Signal Dispatcher" daemon prio=10 tid=0x0250e000 nid=0x13bc waiting on condition [0x00000000]
    java.lang.Thread.State: RUNNABLE
    "Finalizer" daemon prio=8 tid=0x024dd000 nid=0x13b8 in Object.wait() [0x3d06f000]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x11f80b08> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118)
    - locked <0x11f80b08> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134)
    at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)
    "Reference Handler" daemon prio=10 tid=0x024db800 nid=0x17a0 in Object.wait() [0x3cf6f000]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x11f80b98> (a java.lang.ref.Reference$Lock)
    at java.lang.Object.wait(Object.java:485)
    at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
    - locked <0x11f80b98> (a java.lang.ref.Reference$Lock)
    "main" prio=6 tid=0x0254bc00 nid=0x17e4 waiting on condition [0x00000000]
    java.lang.Thread.State: RUNNABLE
    "VM Thread" prio=10 tid=0x024d7000 nid=0x1570 runnable
    "VM Periodic Task Thread" prio=10 tid=0x0252b400 nid=0x9e4 waiting on condition
    JNI global references: 3529
    Heap
    def new generation total 39424K, used 15384K [0x04a30000, 0x074f0000, 0x11f80000)
    eden space 35072K, 43% used [0x04a30000, 0x059360e0, 0x06c70000)
    from space 4352K, 0% used [0x06c70000, 0x06c70000, 0x070b0000)
    to space 4352K, 0% used [0x070b0000, 0x070b0000, 0x074f0000)
    tenured generation total 87424K, used 33812K [0x11f80000, 0x174e0000, 0x2ca30000)
    the space 87424K, 38% used [0x11f80000, 0x14085328, 0x14085400, 0x174e0000)
    compacting perm gen total 63232K, used 63214K [0x2ca30000, 0x307f0000, 0x3ca30000)
    the space 63232K, 99% used [0x2ca30000, 0x307ebab8, 0x307ebc00, 0x307f0000)
    No shared spaces configured.

  • Issue with SQL Developer connect to SQL server

    I'm using "SQL Developer 2.1.1.64.45" to work on a migration project which needs to convert a SQL server database to a Oracle 11g database. But I got an issue when I setup the SQL server connection. The SQL Developer let me connect by selecting a SQL server database name (For example: Northwind), but once connected, it always connected to "master" database instead. The "SQL Developer" is running on Windows 7 Professional (x64) platform. My Oracle database is 11g, and SQL server database is SQL 2005. And my SQL server instance name is "SQL2005". Anyone have ever experienced this problem? Thanks in advance.
    Edited by: user8276338 on Feb 8, 2011 1:05 PM

    Hi Bob,
    Thanks for the feedback, lets stick with SQL Developer 3.
    Correct me if I'm wrong,
    You attempted to migrate from SQL Server to Oracle including target generation and datamove in one go, by filling in each step of the migration wizard to the end.
    During the datamove you got
    ORA-01000:maximum open cursor exceeded
    So it looks like SQL Developer during the migration is not closing cursors fast enough and hits the maximum number of open cursors in your Oracle database.
    I think the default max open cursors is 300 in Oracle.
    There are a few things we can do here.
    You should be able to see the new migration project in your Migration Projects navigator.
    By navigating down the project tree to "Converted Database Objects" we can attempt the data move again by right clicking and choosing "Data Move".
    But first I would restart SQL Developer so as to free up any lingering open cursors.
    That may allow you to complete the data move, as the only cursors being open are being used in the data move and not some cursors which may have been left open from previous steps in the migration.
    Now from my perspective I would like to identify where are we leaving open the cursors, so I'm going to setup some testcases my end to see if I can replicate.
    From your perspective Id presume you just want to move on with the migration.
    So if the above (shutdown and attempt just the data move) doesnt workyou could
    A) Increase the MAX OPEN CURSORs on your Oracle databases so it complete the data move
    or
    B) Use the offline data move technique.
    A) Increase MAX OPEN CURSORs
    This wiki explains how to do that, looks like 1000 is fairly common, but even a much larger number is not a problem
    http://wiki.oracle.com/page/OPEN_CURSORS
    ALTER SYSTEM SET OPEN_CURSORS = 10000;
    OR
    B) Offline Data Move
    If you are moving large amounts of data (say > 1GB), then the standard data move (we call it online), which just uses JDBC to SELECT * FROM and INSERT INTO may not cut the mustard.
    In this case you can try using our offline technique. SQL Developer will generate a set of scripts for you.
    unload_script.bat will use SQL Servers BCP tool to dump out the table data into DAT files.
    oracle_ctl.bat will load the data in the DAT files into Oracle.
    As we know the names of all the tables, columns ,both SQL Server and Oracle, we can generate fairly good scripts.
    The benefit of this technique is large amounts of data can be migrated and you get to use tools designed to dump data and load in data, so you have better error logging and tweaking.
    To attempt this in the Migration Wizard , Data Move page, select offline.
    If you can describe your database a bit (number of tables, number of procedures, amount of data to migrate) I may be able to define my testcase better so I can replicate the issue.
    Thanks
    Dermot
    SQL Developer Team.

  • Data Pump Import

    I am having trouble using the data pump import tool. I am working with Oracle 10.2.4.0 on Windows Server 2008. I am trying to import a lot of data (several schemas, thousands of tables, hundreds of GB of data) from the same version of Oracle on Linux. Since it's so much data and will take so long to import, I am trying to make sure I can get it to work for one table or one schema before I attempt everything. So I'm trying to import the TEST_USER.TABLE1 table using the following command:
    impdp.exe dumpfile=big_file.dmp logfile=big_file_import.log tables=test_user.table1 remap_datafile=\'/oradata1/data1.dbf\':\'D:\oracle\product\10.2.0\oradata\orcl\data1.dbf\'
    I supply sys as sysdba for the login when it asks (not sure how you get that info into the initial command). However, I am getting the following error:
    user 'TEST_USER' does not exist
    My understanding was that the data pump utility would create all the requisite schemas for me. Is that not the case? The target database is a new install so the source schemas don't exist there.
    Even if I create the test_user schema by hand, then I get an error stating that the tablespace doesn't exist:
    ORA-00959: tablespace 'TS_1' does not exist
    Then even doing that, which I don't want to have to do to begin with, doesn't work. Then it gives me something about how the user doesn't have the proper privileges on the tablespace.
    Isn't the data pump utility supposed to make this stuff automatic? Do I really have to create all the schemas and tablespaces by hand? That's going to take a long time. Am I doing something wrong here?
    Thanks,
    Dave

    user5482172 wrote:
    Hemant K Chitale wrote:
    tables=test_user.table1 The "TABLES" mode does NOT create the database accounts.
    The FULL mode creates tablespaces and database accounts before importing data.
    The SCHEMAS mode creates database accounts before importing data-- but expects Tablespaces to pre-exist so that the tables and indexes can be created in the correct tablespaces.
    Hemant K Chitale
    http://hemantoracledba.blogspot.com
    That is consistent with what I'm seeing. So basically there is no way to import just a few tables or schemas and have it create all the necessary users and tablespaces for you. That seems a little arbitrary, but whatever. Why make things easy on your users when you can be all Oracley about it. Anyway, I'll give it a try and let you know what happens.
    Can I ask where you got this information? I'm sure you're right, but I can't find anything stating this.
    Thanks,
    Dave
    Edited by: user5482172 on Feb 18, 2010 10:51 PMAfter some testing, this appears to be correct. The system will not create tablespaces under the SCHEMAS mode and it will not create schemas under the TABLES mode; only under the FULL mode will everything be created for you. I find that unintuitive and extremely unfriendly, but that's Oracle for you. Have you ever tried doing this in SQL Server? You open the GUI, tell it where the dump file is, the name of the database, where to put the data files and you're done. Oracle has a real knack for making things way more complicated than they need to be. End Oracle rant.

  • Data Pump Export with remap tables

    Hello we have two database on different servers. both running same platform windows 2008 ORacle11r2. we have two stars(schema) on both server. both schema have partition table and every partition has it own tablespace. Star one is empty its name is Say "Msoon" i want to populate Msoon with ONLY DATA of Other star say M2 i have tried different command but every time i get error. here is my command in which i'm extracting one table from database
    expdp M1396_1447/Aa123456 DIRECTORY=data_pump_dir DUMPFILE=quest_dg2.dmp tables=M1396_1447.M1396_1447_DG2 CONTENT= DATA_ONLY
    Now i want to import its data in Msoon star table MSOON02_DG2 which is same. just name is change but i get the following error
    impdp MSOON/Aa123456 DIRECTORY=data_pumpdir DUMPFILE=QUEST_DG22.dmp remap_table=M1396_1447.M1396_1447_DG2:MSOON02.MSOON02_DG2 CONTENT= DATA_ONLY
    Import: Release 11.2.0.1.0 - Production on Wed Jan 12 20:34:17 2011
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Master table "MSOON"."SYS_IMPORT_FULL_12" successfully loaded/unloaded
    Starting "MSOON"."SYS_IMPORT_FULL_12":  MSOON/******** DIRECTORY=data_pump_dir DUMPFILE=QUEST_DG22.dmp logfile=MY_L.log remap_table=M1396_1447.M1396_1447_DG2:MSOON02.MSOON02_DG2 CONTENT= DATA_ONLY
    Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
    ORA-39126: Worker unexpected fatal error in KUPW$WORKER.UPATE_TD_ROW_IMP [15]
    TABLE_DATA:"M1396_1447"."MSOON02.MSOON02_DG2":"DEF_PART_M1396_1447_DG2"
    ORA-31603: object "MSOON02.MSOON02_DG2" of type TABLE not found in schema "M1396_1447"
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
    ORA-06512: at "SYS.KUPW$WORKER", line 8171
    ----- PL/SQL Call Stack -----
      object      line  object
      handle    number  name
    00000003B2AD5BB0     18990  package body SYS.KUPW$WORKER
    00000003B2AD5BB0      8192  package body SYS.KUPW$WORKER
    00000003B2AD5BB0     18552  package body SYS.KUPW$WORKER
    00000003B2AD5BB0      4105  package body SYS.KUPW$WORKER
    00000003B2AD5BB0      8875  package body SYS.KUPW$WORKER
    00000003B2AD5BB0      1649  package body SYS.KUPW$WORKER
    00000003B29D51D0         2  anonymous block
    ORA-39126: Worker unexpected fatal error in KUPW$WORKER.UPATE_TD_ROW_IMP [15]
    TABLE_DATA:"M1396_1447"."MSOON02.MSOON02_DG2":"DEF_PART_M1396_1447_DG2"
    ORA-31603: object "MSOON02.MSOON02_DG2" of type TABLE not found in schema "M1396_1447"
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
    ORA-06512: at "SYS.KUPW$WORKER", line 8171
    ----- PL/SQL Call Stack -----
      object      line  object
      handle    number  name
    00000003B2AD5BB0     18990  package body SYS.KUPW$WORKER
    00000003B2AD5BB0      8192  package body SYS.KUPW$WORKER
    00000003B2AD5BB0     18552  package body SYS.KUPW$WORKER
    00000003B2AD5BB0      4105  package body SYS.KUPW$WORKER
    00000003B2AD5BB0      8875  package body SYS.KUPW$WORKER
    00000003B2AD5BB0      1649  package body SYS.KUPW$WORKER
    00000003B29D51D0         2  anonymous block
    Job "MSOON"."SYS_IMPORT_FULL_12" stopped due to fatal error at 20:34:19
    Edited by: Oracle Studnet on Jan 12, 2011 7:36 AM

    i have some problem with data pump parallel processing. here is my statement
    expdp M1396_1447/Aa123456 DIRECTORY=data_pump_dir DUMPFILE=SRV03Msoon02_jt%U.dmp logfile= jt.log tables=M1396_1447.M1396_1447_jt CONTENT= DATA_ONLY parallel=4 One server two i want to import it
    impdp MSOON02/Aa123456 DIRECTORY=data_pump_dir DUMPFILE=SRV03Msoon02_jt%U.dmp logfile= jtJT.log REMAP_SCHEMA=M1396_1447:MSOON02 remap_table=M1396_1447_JT:MSOON02_JT CONTENT= DATA_ONLY parallel=4 i get following Error if i use parallel. if i omit parallel it take two long to import data. it took 2.5hr to insert 2.35Gb data in one partition of table.
    One more thing if i use parallel, all partitions of table containing no record imoprt successfully but all those partition that have data sized in GBs fail the following error. plz it is requested to help me out of this problem. here is log file of data pump
    Import: Release 11.2.0.1.0 - Production on Thu Jan 13 14:05:04 2011
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Master table "MSOON02"."SYS_IMPORT_FULL_05" successfully loaded/unloaded
    Starting "MSOON02"."SYS_IMPORT_FULL_05":  msoon02/******** DIRECTORY=data_pump_dir DUMPFILE=SRV03 Msoon02_jt%U.dmp logfile= REMAP_SCHEMA=M1396_1447:MSOON02 remap_table=M1396_1447_JT:MSOON02_JT CONTENT= DATA_ONLY parallel=4
    Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
    ORA-31693: Table data object "MSOON02"."MSOON02_JT":"PT_M1396_1447_JT_20091201" failed to load/unload and is being skipped due to error:
    ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-31693: Table data object "MSOON02"."MSOON02_JT":"PT_M1396_1447_JT_20100101" failed to load/unload and is being skipped due to error:
    ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-31693: Table data object "MSOON02"."MSOON02_JT":"PT_M1396_1447_JT_20091101" failed to load/unload and is being skipped due to error:
    ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    . . imported "MSOON02"."MSOON02_JT":"DEF_PART_M1396_1447_JT"      0 KB       0 rows
    . . imported "MSOON02"."MSOON02_JT":"PT_M1396_1447_JT_20100201"      0 KB       0 rows
    . . imported "MSOON02"."MSOON02_JT":"PT_M1396_1447_JT_20100301"      0 KB       0 rows
    . . imported "MSOON02"."MSOON02_JT":"PT_M1396_1447_JT_20100401"      0 KB       0 rows
    . . imported "MSOON02"."MSOON02_JT":"PT_M1396_1447_JT_20100501"      0 KB       0 rows
    . . imported "MSOON02"."MSOON02_JT":"PT_M1396_1447_JT_20100601"      0 KB       0 rows
    . . imported "MSOON02"."MSOON02_JT":"PT_M1396_1447_JT_20100701"      0 KB       0 rows
    . . imported "MSOON02"."MSOON02_JT":"PT_M1396_1447_JT_20100801"      0 KB       0 rows
    . . imported "MSOON02"."MSOON02_JT":"PT_M1396_1447_JT_20100901"      0 KB       0 rows
    . . imported "MSOON02"."MSOON02_JT":"PT_M1396_1447_JT_20101001"      0 KB       0 rows
    Job "MSOON02"."SYS_IMPORT_FULL_05" completed with 3 error(s) at 14:21:32Edited by: Oracle Studnet on Jan 13, 2011 1:20 AM

  • DB2 8.1 to Oracle 11g with SQL Developer 3.0

    Hi,
    I started migrating my DB2 8.1 to Oracle 11g, with SQL Developer 3.0
    Basically, I need to migrate TABLES.
    I followed these steps:
    1) I created a new Oracle database, tablespaces, users, etc.
    2) Then, I created both (DB2 and Oracle) connections into SQL Developer 3.0. All works fine.
    3) I start capturing one table with the "Copy to Oracle" feature. Done with no errors.
    But when I compare the table structure, I see the following problems in Oracle:
    a) All fields are NULLABLE = YES. SQL Developer show this field property correctly in DB2: NULLABLE = NO, but not migrated the same!
    SOLUTION: All I want is that SQL Developer simply migrating the same value who I have in the DB2. But how?
    b) In DB2 I have one field property called COLUM DEFAULT. In Oracle this property is called DATA_DEFAULT. The SQL Developer show this field property correctly for the DB2 tables (for example: 0.0, ' ', etc), but don't migrated the same value! All fields are configured to DATA_DEFAULT = NULL.
    SOLUTION: I think this occurs because NULLABLE is migrated with the value YES. Well, all I need is the same above...
    NOTE: I tested the SWISSQL DATA MIGRATION software, and it works fine. All tables, field properties and data are migrated sucessfull. But this program is trial version!
    Well, I think all of this are BUGS into SQL Developer.
    Please, anyone to help me?
    Regards,
    Ylram

    Welcome to the forum!
    >
    I just did right click in the procedure body and found [Debug, Compile for Debug, Compile, Run].
    >
    You listed a bunch of things but you didn't say what steps you actually performed and what the result was.
    Did you 'Compile'the procedure? until you compile the procedure you can't debug it.
    I just created a new procedure and when I select the body it displays in the 'Code' window on the right. But the 'Debug' icon is not enabled because the procedure was not compiled for debug.
    When I compile it for debug the 'Debug' icon is now enabled.

  • Help for migrating DB2 to Oracle11 g, with Sql Developer

    Hello, Good Afternoon,
    Today I started a series of exercises to migrate DB2 9 to Oracle 11 g, with SQL Developer in order to evaluate this tool for a project we have in door.
    But it is setting a number of issues, because the DB2 tables that we are trying to migrate do not have primary key and load the data sets the error ORA-02270.
    It is generating an error when trying to convert the following triggers.
    CREATE TRIGGER min_salary NO CASCADE
    BEFORE INSERT ON staff REFERENCING NEW AS newstaff
    FOR EACH ROW MODE DB2SQL BEGIN ATOMIC
    SET newstaff.salary =
    CASE
    WHEN newstaff.job = 'Mgr' AND newstaff.salary < 17000.00 THEN 17000.00
    WHEN newstaff.job = 'Sales' AND newstaff.salary < 14000.00 THEN 14000.00
    WHEN newstaff.job = 'Clerk' AND newstaff.salary < 10000.00 THEN 10000.00
    ELSE newstaff.salary END;
    END
    CREATE TRIGGER do_not_del_sales NO CASCADE
    BEFORE DELETE ON staff REFERENCING OLD AS oldstaff
    FOR EACH ROW MODE DB2SQL
    WHEN(oldstaff.job = 'Sales') BEGIN ATOMIC SIGNAL SQLSTATE '75000'
    ('Sales staff cannot be deleted... see the DO_NOT_DEL_SALES trigger.'); END
    SEVERE 197 625 oracle.dbtools.migration.workbench.core.MigrationLogResourceBundle Failed to Convert Trigger MIN_SALARY>: class org.antlr.runtime.NoViableAltException -> null: Line 1 Column 0
    SEVERE 196 1328 oracle.dbtools.migration.workbench.core.MigrationLogResourceBundle Failed to Convert Trigger DO_NOT_DEL_SALES>: class org.antlr.runtime.NoViableAltException -> null: Line 1 Column 0
    I can do for Work Bench (SQL Developer) not validate that DB2 must carry primary keys?
    I can do for Work Bench (SQL Developer), I can turn triggers the 2 above?
    Greetings

    to follow up the root cause of ORA-02270 it would be good to get the DB2 table definition as the table is defined in the Oracle database.
    For the other issue with the trigger, please have a look at:
    http://www.oracle.com/technetwork/database/migration/db2-084087.html
    => it lists which objects the migration supports as:
    Supported Migration Objects
         Tables      
         Views
         Indexes
         Users
         Constraints
    => so no triggers.

  • View jobs with SQL Developer and export to file with delimiter

    Hi,
    is there a way to view, create and alter my database jobs with SQL developer?
    And is it possible to export tables, views or simple queries to file delimited different from the CSV standard?
    Diego.

    Hi and Welcome to the Forum!!
    To select data from a table or a view you must use the SELECT sql command. Example to get the data from your view you can
    select ZMATNUM,ZMATCUR,ZMATATTR from ZMATERIALAs you have said you are using SQL Developer just execute the above query in your sql developer and it will show the data. Right click the grid and export the data to excel file.

  • Migration Error from Access to Oracle through SQL Developer.

    Hi,
    Actually I am trying to migrate data from MS Access 2002 to Oracle 9i database through the SQL Developer. But Whenever I go to Capture Database from Access it will show me an error.... Invalid procedure Call and then it shows an error message... >>>>>>
    ShowSplashScreen("_OracleSplashScreen",3)
    after that i wont be able to do this task anymore..... So please help me get out of it... How Cam I Maigrate data from Access to Oracle 9i...
    Is any other tool i use or you can help me for this tool to migrate date...
    Please tell me..
    If yu can send me a mail then mail me on [email protected]
    regards,
    Vishal

    Hi Vishal,
    I have responded to your related thread on the Migration Workbench forum - Migration Error from Access to Oracle through SQL Developer.
    Regards,
    Hilary

  • Querying OBIEE catalog with SQL Developer

    Hi all,
    is it possible to query the Oracle BI server catalog with SQL developer via ODBC or JDBC.
    I have done it with Cognos but I don't see how it can be made.
    suppose that ii have DSN Oracle BI server,
    I tried to put the connection parameters like this in sql developer
    Hostname : localhost
    Port : 9703
    SID : AnalyticsWeb ( I tried also ORACLE BI SERVER)
    but it doen't work
    Thanks
    Edited by: Houssem EL AYDI on 16 avr. 2010 05:04

    Hi,
    In fact,my ODBC connection is on oracle BI server connection (Analytics) which contains the catalog.
    With SQL Developer, I think we should go througt an JDBC connection and not ODBC. I tried to add the JDBC driver of oracle BI server to SQL Developer but it doesn't work.
    But in general any ODBC-capable client should be able to query the BI Server directlyWell, I did another test with Cognos, the ODBC connection works with Orale BI.
    But with an another ODBC, i just can to import the presentation catalog but the SQL query doesn't work.
    Edited by: Houssem EL AYDI on 19 avr. 2010 04:40

Maybe you are looking for

  • Loss of support due to addition of views?

    I'm working with a contractor who is hosting CM 13 and I need a view created for several reports. Their admin refuses to do anything because he's afraid they will lose support. Does anyone know which database modifications/additions will cause you to

  • Regarding Communication Channel Error in Component Monitoring(RWB) in Dev

    Hi, In my XI dev Server when I check Component monitoring....Adapter Engine and CC monitoring are showing errors ( showing red symbol)...... I think my RFC to File Scenario cannot be executed  due to this.......I cant receive any messages in SXMB_MON

  • J1INCERT

    Dear all Experts, When i print Withholding Tax Certificates for Vendor (J1INCERT) , Its  printing TDS Certificate (in Form No. 16A) correctly but it's not printng TDS Certificate No.  What / Where can be a problem ? I have created Number range in SPR

  • OT: Trouble sending mail lately?

    Hi, I've been getting some strange undeliverable email messages returned to me of late. One of my websites sends emails to users as required, but some users mails are not being delivered. The error message returned is either DNS not found or MX recor

  • Import video from usb video device

    Looking for the cleanest way to upload and organize video clips from Flip Ultra HD to use in iMovie. Former PC user, new to Mac.