Migration: sqlserver 2000 to oracle - delete cascade [resolved - tank you]

hi
no problems on migration... but...
in the new oracle database, all foreign keys have the "cascade delete" as default...
but i don't want this default (a stupid human error may be ruinous...)
can somebody explain me how change this default in a "exception thrown"?
maybe with an authomatic sql order????
tank you a lot...
Giovanni D.
Message was edited by:
user535473

Hi Giovanni,
Tools> Options> General
Create Foreign Keys with "ON DELETE CASCADE" option
Just untick the box and remap from the source to the oracle model.
Hope this helps
Dermot.

Similar Messages

  • Limitations of Oracle Migration Workbench in migrating sqlserver 2000

    Hello,
    Can one of you please point me to a doc or list of items which are NOT covered automatically (ie needs manual changes) in migrating a sqlserver2000 database to Oracle using Oracle Migration WorkBench.
    Thanks
    Cyril

    Cyril,
    See thread User Defined datatypes migration from sqlserver2000 to Oracle
    Barry

  • WHEN MIGRATING SQLSERVER REPOSITORY TO ORACLE MODEL USING OraMigWrkBnch

    I have captured the the SQLServer database to the omwb repository and migrated it to the Oracle Model. Some of the views,
    triggers and stored procedures are not migrated and the followind messages are provided.
    Has somebody done this before and got the same messages?, does someone know how to solve this problem(s)?, is there a
    standard way?
    Please help, anyone.
    VIEW
    [1] Error occured on line 1:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 1, column 106. Encountered:
    from
    TRIGGERS
    [2] Error occured on line 9:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 9, column 10. Encountered: of
    [3] Error occured on line 17:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 17, column 3. Encountered:
    update
    [4] Error occured on line 183:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 183, column 5. Encountered:
    cross
    [5] Error occured on line 7:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 7, column 1. Encountered:
    create
    STORED PROCEDURES
    [6] Error occured on line 26:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 26, column 5. Encountered:
    update
    [7] Error occured on line 163:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 163, column 17. Encountered:
    where
    [8] Error occured on line 66:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 66, column 47. Encountered:
    @ac_any_type_code
    [9] Error occured on line 69:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 69, column 28. Encountered: =
    [10] Error occured on line 70:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 70, column 7. Encountered: (
    [11] Error occured on line 9:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 9, column 1. Encountered:
    [12] Error occured on line 64:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 64, column 5. Encountered:
    delete
    [13] Error occured on line 60:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 60, column 35. Encountered:
    as
    [14] Error occured on line 1:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 1, column 55. Encountered:
    create
    [15] Error occured on line 65:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 65, column 7. Encountered:
    from
    [16] Error occured on line 56:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 56, column 51. Encountered: +
    [17] Error occured on line 112:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 112, column 1. Encountered:
    null
    [18] Error occured on line 27:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 27, column 3. Encountered:
    select
    [19] Error occured on line 74:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 74, column 10. Encountered:
    and
    [20] Error occured on line 19:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 19, column 6. Encountered: ,
    [21] Error occured on line 194:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 194, column 10. Encountered:
    exists
    [22] Error occured on line 269:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 269, column 9. Encountered:
    declare
    [23] Error occured on line 49:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 49, column 7. Encountered:
    order
    [24] Error occured on line 244:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 244, column 41. Encountered:
    rtrim

    The following trigger created:
    CREATE OR REPLACE TRIGGER tr_prs16_ins
    AFTER INSERT
    ON progress_state_16
    FOR EACH ROW
    DECLARE
    /* COMMENT */
    BEGIN
         BEGIN
                   INSERT INTO logtable
                        SELECT :NEW.code, sf_language.code,
    RPAD(CASE WHEN fg1.id IS null THEN '' ELSE RTRIM(fg1.id) END ||
    CASE WHEN pg1.id IS null THEN '' ELSE ': ' || RTRIM(pg1.id) END ||
    CASE WHEN fg2.id IS null THEN '' ELSE ', ' || RTRIM(fg2.id) END ||
    CASE WHEN pg2.id IS null THEN '' ELSE ': ' || RTRIM(pg2.id) END ||
    CASE WHEN fg3.id IS null THEN '' ELSE ', ' || RTRIM(fg3.id) END ||
    CASE WHEN pg3.id IS null THEN '' ELSE ': ' || RTRIM(pg3.id) END ||
    CASE WHEN fg4.id IS null THEN '' ELSE ', ' || RTRIM(fg4.id) END ||
    CASE WHEN pg4.id IS null THEN '' ELSE ': ' || RTRIM(pg4.id) END ||
    CASE WHEN fg5.id IS null THEN '' ELSE ', ' || RTRIM(fg5.id) END ||
    CASE WHEN pg5.id IS null THEN '' ELSE ': ' || RTRIM(pg5.id) END ||
    CASE WHEN fg6.id IS null THEN '' ELSE ', ' || RTRIM(fg6.id) END ||
    CASE WHEN pg6.id IS null THEN '' ELSE ': ' || RTRIM(pg6.id) END ||
    CASE WHEN fg7.id IS null THEN '' ELSE ', ' || RTRIM(fg7.id) END ||
    CASE WHEN pg7.id IS null THEN '' ELSE ': ' || RTRIM(pg7.id) END ||
    CASE WHEN fg8.id IS null THEN '' ELSE ', ' || RTRIM(fg8.id) END ||
    CASE WHEN pg8.id IS null THEN '' ELSE ': ' || RTRIM(pg8.id) END ||
    CASE WHEN fg9.id IS null THEN '' ELSE ', ' || RTRIM(fg9.id) END ||
    CASE WHEN pg9.id IS null THEN '' ELSE ': ' || RTRIM(pg9.id) END ||
    CASE WHEN fg10.id IS null THEN '' ELSE ', ' || RTRIM(fg10.id) END ||
    CASE WHEN pg10.id IS null THEN '' ELSE ': ' || RTRIM(pg10.id) END ||
    CASE WHEN fg11.id IS null THEN '' ELSE ', ' || RTRIM(fg11.id) END ||
    CASE WHEN pg11.id IS null THEN '' ELSE ': ' || RTRIM(pg11.id) END ||
    CASE WHEN fg12.id IS null THEN '' ELSE ', ' || RTRIM(fg12.id) END ||
    CASE WHEN pg12.id IS null THEN '' ELSE ': ' || RTRIM(pg12.id) END ||
    CASE WHEN fg13.id IS null THEN '' ELSE ', ' || RTRIM(fg13.id) END ||
    CASE WHEN pg13.id IS null THEN '' ELSE ': ' || RTRIM(pg13.id) END ||
    CASE WHEN fg14.id IS null THEN '' ELSE ', ' || RTRIM(fg14.id) END ||
    CASE WHEN pg14.id IS null THEN '' ELSE ': ' || RTRIM(pg14.id) END ||
    CASE WHEN fg15.id IS null THEN '' ELSE ', ' || RTRIM(fg15.id) END ||
    CASE WHEN pg15.id IS null THEN '' ELSE ': ' || RTRIM(pg15.id) END ||
    CASE WHEN fg16.id IS null THEN '' ELSE ', ' || RTRIM(fg16.id) END ||
    CASE WHEN pg16.id IS null THEN '' ELSE ': ' || RTRIM(pg16.id) END
    , 255, ' ')
    from dual
    left outer join function_group fg1 on fg1.code = :new.function_group_1_code
    left outer join function_group fg2 on fg2.code = :new.function_group_2_code
    left outer join function_group fg3 on fg3.code = :new.function_group_3_code
    left outer join function_group fg4 on fg4.code = :new.function_group_4_code
    left outer join function_group fg5 on fg5.code = :new.function_group_5_code
    left outer join function_group fg6 on fg6.code = :new.function_group_6_code
    left outer join function_group fg7 on fg7.code = :new.function_group_7_code
    left outer join function_group fg8 on fg8.code = :new.function_group_8_code
    left outer join function_group fg9 on fg9.code = :new.function_group_9_code
    left outer join function_group fg10 on fg10.code = :new.function_group_10_code
    left outer join function_group fg11 on fg11.code = :new.function_group_11_code
    left outer join function_group fg12 on fg12.code = :new.function_group_12_code
    left outer join function_group fg13 on fg13.code = :new.function_group_13_code
    left outer join function_group fg14 on fg14.code = :new.function_group_14_code
    left outer join function_group fg15 on fg15.code = :new.function_group_15_code
    left outer join function_group fg16 on fg16.code = :new.function_group_16_code
    left outer join progress pg1 on pg1.code = :new.progress_1_code
    left outer join progress pg2 on pg2.code = :new.progress_2_code
    left outer join progress pg3 on pg3.code = :new.progress_3_code
    left outer join progress pg4 on pg4.code = :new.progress_4_code
    left outer join progress pg5 on pg5.code = :new.progress_5_code
    left outer join progress pg6 on pg6.code = :new.progress_6_code
    left outer join progress pg7 on pg7.code = :new.progress_7_code
    left outer join progress pg8 on pg8.code = :new.progress_8_code
    left outer join progress pg9 on pg9.code = :new.progress_9_code
    left outer join progress pg10 on pg10.code = :new.progress_10_code
    left outer join progress pg11 on pg11.code = :new.progress_11_code
    left outer join progress pg12 on pg12.code = :new.progress_12_code
    left outer join progress pg13 on pg13.code = :new.progress_13_code
    left outer join progress pg14 on pg14.code = :new.progress_14_code
    left outer join progress pg15 on pg15.code = :new.progress_15_code
    left outer join progress pg16 on pg16.code = :new.progress_16_code
    cross join sf_language
         END;
    END TEST_IF;
    given the following tables exist:
    create table logtable(newcode varchar2(10),
    sfcode varchar2(10),
    other varchar2(10)
    create table sf_language(code varchar2(10),
    id varchar2(10));
    create table progress(code varchar2(10),
    id varchar2(10));
    create table function_group(code varchar2(10),
    id varchar2(10));
    create table progress_state_16 (code varchar2(10),
    function_group_1_code varchar2(10),
    function_group_2_code varchar2(10),
    function_group_3_code varchar2(10),
    function_group_4_code varchar2(10),
    function_group_5_code varchar2(10),
    function_group_6_code varchar2(10),
    function_group_7_code varchar2(10),
    function_group_8_code varchar2(10),
    function_group_9_code varchar2(10),
    function_group_10_code varchar2(10),
    function_group_11_code varchar2(10),
    function_group_12_code varchar2(10),
    function_group_13_code varchar2(10),
    function_group_14_code varchar2(10),
    function_group_15_code varchar2(10),
    function_group_16_code varchar2(10),
    progress_1_code varchar2(10),
    progress_2_code varchar2(10),
    progress_3_code varchar2(10),
    progress_4_code varchar2(10),
    progress_5_code varchar2(10),
    progress_6_code varchar2(10),
    progress_7_code varchar2(10),
    progress_8_code varchar2(10),
    progress_9_code varchar2(10),
    progress_10_code varchar2(10),
    progress_11_code varchar2(10),
    progress_12_code varchar2(10),
    progress_13_code varchar2(10),
    progress_14_code varchar2(10),
    progress_15_code varchar2(10),
    progress_16_code varchar2(10))
    SQL> insert into progress_state_16 values ('1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1');
    1 row created.
    SQL> select * from logtable;
    no rows selected
    SQL>
    The data to make the select produce a result was not added. I hope your database difficulties are resolved. I hope the fact that the trigger builds gives you more confidence.
    Regards,
    Turloch
    Oracle Migration Workbench Team

  • Run DDL error when migration from sqlserver 2000 to Oracle

    Hello:
    DDL was generated from Oracle SQL developer. However, it always has some errors when running the script.
    Error starting at line 6 in command:
    CREATE OR REPLACE PACKAGE sqlserver_utilities AS
    FUNCTION convert(dataType VARCHAR2,num NUMBER) RETURN NUMBER;
    FUNCTION convert(dataType VARCHAR2,date DATE, num NUMBER ) RETURN VARCHAR2;
    END sqlserver_utilities;
    Error report:
    Incorrect syntax near the keyword 'OR'.
    Error starting at line 34 in command:
    CREATE SEQUENCE tableName_id_SEQ
    MINVALUE 1 MAXVALUE 999999999999999999999999 INCREMENT BY 1 NOCYCLE
    Error at Command Line:34 Column:0
    Error report:
    SQL Error: Line 1: Incorrect syntax near 'SEQUENCE'
    Thanks

    Hello, Dermot.
    Thanks for the help. I have MD_Packages, MD_Sequences, other MD tables and some MIGR tables created in the target oracle database. How could I know if it was created successful? Except those tables, no other tables(SQL server tables) were created in the target oracle database. The others errors in DDL scripts are:
    Error starting at line 370 in command:
    CREATE TABLE table_name1(
    ID NUMBER(10,0),
    Part_Activity VARCHAR2(20)
    Error at Command Line:370 Column:0
    Error report:
    SQL Error: Column or parameter #1: Cannot find data type NUMBER.
    Error starting at line 376 in command:
    ALTER TABLE table_name1
    ADD CONSTRAINT PK_table_name1 PRIMARY KEY
    ID
    ENABLE
    Error report:
    SQL Error: Line 6: Incorrect syntax near 'ENABLE'.
    Error starting at line 413 in command:
    CREATE TABLE table_name2 (
    ID VARCHAR2(6) NOT NULL,
    COMPETITION NUMBER(10,0)
    Error at Command Line:413 Column:0
    Error report:
    SQL Error: Column or parameter #1: Cannot find data type VARCHAR2.
    Error starting at line 2,800 in command:
    CREATE TABLE table_name3 (
    Prefix NVARCHAR2(510),
    Type NVARCHAR2(510),
    ProductGroup NVARCHAR2(510)
    Error at Command Line:2,800 Column:0
    Error report:
    SQL Error: Column or parameter #1: Cannot find data type NVARCHAR2.
    Error starting at line 2,808 in command:
    CREATE TABLE table_name4 (
    id NUMBER(10,0),
    bldg VARCHAR2(50),
    queue VARCHAR2(50),
    location VARCHAR2(50),
    type VARCHAR2(50),
    maxsize VARCHAR2(50),
    color VARCHAR2(50),
    empid VARCHAR2(50),
    serial VARCHAR2(50),
    duplex VARCHAR2(50),
    server VARCHAR2(15) DEFAULT 'Server'
    Error at Command Line:2,808 Column:0
    Error report:
    SQL Error: Column or parameter #1: Cannot find data type NUMBER.
    Thank you very much for the helo.
    Halfmoon

  • Migrating sqlserver schedulers to oracle

    Gurus
    I am on the verge og migrating some DTS packages from sqlserver to oracle .these DTS packages are written in vb script and they are scheduled as jobs.please help me how will i do this in oracle.please help
    regards
    Nitin

    Gurus
    I am on the verge og migrating some DTS packages from sqlserver to oracle .these DTS packages are written in vb script and they are scheduled as jobs.please help me how will i do this in oracle.please help
    regards
    Nitin

  • Migrating access 2000 to oracle 9i

    Please I have two questions
    i) I am trying to migrate an access 2000 database to Oracle 9i and I am at the point where it asks me for the ODBC data source please where do I get this information.
    ii) ALso please can anyone tell me what are the 5 layers involved in migrating an access database to oracle

    Arun,
    Can you provide a reproducible test case so that we can confirm the behavior here and log a bug? More detail can be found in the log/Error.log in case there is a java exception that is being thrown.
    Regards,
    Turloch
    Oracle Migration Workbench Team

  • Creating Oracle Obj Model hangs - SQLServer 2000 to Oracle9i

    Migration Workbench process appears to hang during "Mapping Priomary Keys" while creating Oracle Object Model. I am migrating SQLServer 2000 database to Oracle 9i. All on one single PC using Windows 2000 server. I downloaded latest SQLServer 2000 plugin and I have .NET Framework installed which inturn installs MDAC 2.7 (supposed have latest ODBC driver). ODBC driver for SQLServer 2000 version is : 2000.81.7713.00
    Following is the info in Error.log file I have under %ORACLE_HOME%\omwb\log directory.
    ERROR.LOG File Starts here
    =================================================================================
    ** Oracle Migration Workbench
    ** Release 2.0.2.0.0 Production
    ** ( Build 20011121 )
    ** ORACLE_HOME: D:\Oracle\Ora91
    ** user language: en
    ** user region: US
    ** user timezone: PST
    ** file encoding: Cp1252
    ** java version: 1.1.8.10
    ** java vendor: Oracle Corporation
    ** o.s. arch: x86
    ** o.s. name: Windows NT
    ** o.s. version: 5.0
    ** Classpath:
    D:\Oracle\Ora91\Omwb\olite\Oljdk11.jar;D:\Oracle\Ora91\Omwb\olite\Olite40.jar;D:\Program Files\Oracle\jre\1.1.8\lib\rt.jar;D:\Program Files\Oracle\jre\1.1.8\lib\i18n.jar;D:\Oracle\Ora91\Omwb\jlib;D:\Oracle\Ora91\Omwb\jlib\Omwb.jar;D:\Oracle\Ora91\jlib\oembase-9_0_1.jar;D:\Oracle\Ora91\jlib\netcfg.jar;D:\Oracle\Ora91\Omwb\plugins\SQLServer6.jar;D:\Oracle\Ora91\Omwb\plugins\SQLServer7.jar;D:\Oracle\Ora91\Omwb\plugins\SQLServer2K.jar;D:\Oracle\Ora91\Omwb\plugins\Sybase11.jar;D:\Oracle\Ora91\Omwb\plugins\Sybase12.jar;D:\Oracle\Ora91\Omwb\plugins\MSAccess.jar;D:\Oracle\Ora91\Omwb\plugins\MySQL.jar;D:\Oracle\Ora91\Omwb\drivers\mm.mysql.jdbc-1.2a;D:\Oracle\Ora91\Omwb\plugins\Informix7.jar;D:\Oracle\Ora91\Omwb\drivers\ifxjdbc.jar;D:\Oracle\Ora91\lib\xmlparserv2.jar;D:\Oracle\Ora91\rdbms\jlib\xsu111.jar;D:\Oracle\Ora91\jdbc\lib\classes111.zip;D:\Oracle\Ora91\lib\vbjorb.jar;D:\Oracle\Ora91\jlib\ewt-swingaccess-3_3_18.jar;D:\Oracle\Ora91\jlib\ewt-3_3_18.jar;D:\Oracle\Ora91\jlib\ewtcompat-3_3_15.jar;D:\Oracle\Ora91\jlib\share-1_1_9.jar;D:\Oracle\Ora91\jlib\help-3_2_9.jar;D:\Oracle\Ora91\jlib\ice-5_06_3.jar;D:\Oracle\Ora91\jlib\kodiak-1_2_1.jar
    ** Started : Fri Apr 05 13:31:12 PST 2002
    ** The following plugins are installed:
    ** Microsoft SQLServer 2000 Release 2.0.2.0.0 Production
    java.sql.SQLException: ORA-01418: specified index does not exist
    java.util.NoSuchElementException
         at java.util.Vector.firstElement(Vector.java:433)
         at oracle.mtg.oracleModel.server.OracleModelImpl.insertPrimaryKey(OracleModelImpl.java:4055)
         at oracle.mtg.oracleModel.server.OracleModelImpl.insertPrimaryKey(OracleModelImpl.java:4022)
         at oracle.mtg.sqlserver2k.server.SQLServer2KSourceModelMap._mapPrimaryKeys(SQLServer2KSourceModelMap.java:3092)
         at oracle.mtg.sqlserver2k.server.SQLServer2KSourceModelMap.mapSourceModel(SQLServer2KSourceModelMap.java:271)
         at oracle.mtg.sqlserver2k.ui.SQLServer2KCaptureWizard.doCapture(SQLServer2KCaptureWizard.java:948)
         at oracle.mtg.sqlserver2k.ui.SQLServer2KCaptureWizard._runDialog(SQLServer2KCaptureWizard.java:736)
         at oracle.mtg.sqlserver2k.ui.SQLServer2KCaptureWizard.capture(SQLServer2KCaptureWizard.java:656)
         at oracle.mtg.migrationUI.ActionMenuHandler._capture(ActionMenuHandler.java:212)
         at oracle.mtg.migrationUI.ActionMenuHandler.run(ActionMenuHandler.java:89)
         at oracle.mtg.migration.WorkerThread.run(Worker.java:269)
    ** Shutdown : Fri Apr 05 13:34:39 PST 2002
    ===================================================================
    ERROR.LOG File ends here
    Any help is really appreciated
    Thanks,
    Brunda

    Migration Workbench process appears to hang during "Mapping Priomary Keys" while creating Oracle Object Model. I am migrating SQLServer 2000 database to Oracle 9i. All on one single PC using Windows 2000 server. I downloaded latest SQLServer 2000 plugin and I have .NET Framework installed which inturn installs MDAC 2.7 (supposed have latest ODBC driver). ODBC driver for SQLServer 2000 version is : 2000.81.7713.00
    Following is the info in Error.log file I have under %ORACLE_HOME%\omwb\log directory.
    ERROR.LOG File Starts here
    =================================================================================
    ** Oracle Migration Workbench
    ** Release 2.0.2.0.0 Production
    ** ( Build 20011121 )
    ** ORACLE_HOME: D:\Oracle\Ora91
    ** user language: en
    ** user region: US
    ** user timezone: PST
    ** file encoding: Cp1252
    ** java version: 1.1.8.10
    ** java vendor: Oracle Corporation
    ** o.s. arch: x86
    ** o.s. name: Windows NT
    ** o.s. version: 5.0
    ** Classpath:
    D:\Oracle\Ora91\Omwb\olite\Oljdk11.jar;D:\Oracle\Ora91\Omwb\olite\Olite40.jar;D:\Program Files\Oracle\jre\1.1.8\lib\rt.jar;D:\Program Files\Oracle\jre\1.1.8\lib\i18n.jar;D:\Oracle\Ora91\Omwb\jlib;D:\Oracle\Ora91\Omwb\jlib\Omwb.jar;D:\Oracle\Ora91\jlib\oembase-9_0_1.jar;D:\Oracle\Ora91\jlib\netcfg.jar;D:\Oracle\Ora91\Omwb\plugins\SQLServer6.jar;D:\Oracle\Ora91\Omwb\plugins\SQLServer7.jar;D:\Oracle\Ora91\Omwb\plugins\SQLServer2K.jar;D:\Oracle\Ora91\Omwb\plugins\Sybase11.jar;D:\Oracle\Ora91\Omwb\plugins\Sybase12.jar;D:\Oracle\Ora91\Omwb\plugins\MSAccess.jar;D:\Oracle\Ora91\Omwb\plugins\MySQL.jar;D:\Oracle\Ora91\Omwb\drivers\mm.mysql.jdbc-1.2a;D:\Oracle\Ora91\Omwb\plugins\Informix7.jar;D:\Oracle\Ora91\Omwb\drivers\ifxjdbc.jar;D:\Oracle\Ora91\lib\xmlparserv2.jar;D:\Oracle\Ora91\rdbms\jlib\xsu111.jar;D:\Oracle\Ora91\jdbc\lib\classes111.zip;D:\Oracle\Ora91\lib\vbjorb.jar;D:\Oracle\Ora91\jlib\ewt-swingaccess-3_3_18.jar;D:\Oracle\Ora91\jlib\ewt-3_3_18.jar;D:\Oracle\Ora91\jlib\ewtcompat-3_3_15.jar;D:\Oracle\Ora91\jlib\share-1_1_9.jar;D:\Oracle\Ora91\jlib\help-3_2_9.jar;D:\Oracle\Ora91\jlib\ice-5_06_3.jar;D:\Oracle\Ora91\jlib\kodiak-1_2_1.jar
    ** Started : Fri Apr 05 13:31:12 PST 2002
    ** The following plugins are installed:
    ** Microsoft SQLServer 2000 Release 2.0.2.0.0 Production
    java.sql.SQLException: ORA-01418: specified index does not exist
    java.util.NoSuchElementException
         at java.util.Vector.firstElement(Vector.java:433)
         at oracle.mtg.oracleModel.server.OracleModelImpl.insertPrimaryKey(OracleModelImpl.java:4055)
         at oracle.mtg.oracleModel.server.OracleModelImpl.insertPrimaryKey(OracleModelImpl.java:4022)
         at oracle.mtg.sqlserver2k.server.SQLServer2KSourceModelMap._mapPrimaryKeys(SQLServer2KSourceModelMap.java:3092)
         at oracle.mtg.sqlserver2k.server.SQLServer2KSourceModelMap.mapSourceModel(SQLServer2KSourceModelMap.java:271)
         at oracle.mtg.sqlserver2k.ui.SQLServer2KCaptureWizard.doCapture(SQLServer2KCaptureWizard.java:948)
         at oracle.mtg.sqlserver2k.ui.SQLServer2KCaptureWizard._runDialog(SQLServer2KCaptureWizard.java:736)
         at oracle.mtg.sqlserver2k.ui.SQLServer2KCaptureWizard.capture(SQLServer2KCaptureWizard.java:656)
         at oracle.mtg.migrationUI.ActionMenuHandler._capture(ActionMenuHandler.java:212)
         at oracle.mtg.migrationUI.ActionMenuHandler.run(ActionMenuHandler.java:89)
         at oracle.mtg.migration.WorkerThread.run(Worker.java:269)
    ** Shutdown : Fri Apr 05 13:34:39 PST 2002
    ===================================================================
    ERROR.LOG File ends here
    Any help is really appreciated
    Thanks,
    Brunda

  • Migrating from Sybase to Oracle

    Hi!
    Can someone tell me, how to migrate from Sybase to Oracle.
    Thank U.

    Hi,
    You don't say if you have used the SQL*Developer migration workbench for the migration so far.
    This has a feature for transferring data offline which should do what you want.
    Have a look at the documentation linked from -
    http://www.oracle.com/technology/tech/migration//workbench/index_sqldev_omwb.html
    or at -
    http://download.oracle.com/docs/cd/E12151_01/index.htm
    SQL Developer User's Guide - section 2.9.1 Transferring the Data Offline
    Regards,
    Mike

  • Migration Microsoft SQL Sever 2005 to Oracle 11g cascade on delete problem

    Hi, I'm trying to migrate a sql server 2005 database to oracle 11g version with the lastest version of Oracle SQL Developer. All works fine but there is a little thing that I can't migrate. I have a few tables in the sql server database that has cascade on delete but I can't migrate this through Oracle Sql Developer.
    I know that Oracle database server supports it, then I can manually change the resulting database creation sql script but I'd like to know how I can do it with Oracle Sql Developer.
    Thanks in advance :)

    Hello,
    sorry for the delay.
    Even after some more research I couldn't find this problem described anywhere. I can confirm your observations, the problem is easy to reproduce. Thus I reported it to SQL Developer development as this looks like a bug.
    One workaround is to edit the generated DDL script and to add the ON DELETE CASCADE clause to the ALTER TABLE statement. If you don't like that: apply the scripts as they are and finish the migration. Then, in SQL Developer, right-click the table in your Oracle RDBMS schema, and click on Edit. In the pop-up window, select "Foreign Key". Then, in the lower right corner, there appears a small scroll-down menu where you can change the delete option from RESTRICT to CASCADE.
    Best regards
    Wolfgang

  • Migrating Japanese Characters from MS SQL Server 2000 to Oracle 9i usng Jsp

    Hi ,
    I have a situation where the Japanese characters are to be migrated from MS SQL Server 2000 to Oracle 91 and then render the same using JSP.
    I followed the below approach,
    1. Extract the Japanese data from MS SQL Server and generate an XML
    2. Parse the XML and store it into Oracle 9i database which is of UTF-8 encoding.
    3. On retreiving and rendering using the Shift-JIS adds few junk characters additionally.
    When I try to copy paste the Japanese contents from XML to a text file, it is working fine.
    Could some one help me in resolving this issue?
    It is very urgent, and any help would be greatly appreciated.

    There is documentation in the reference guide sent with the workbench, there is this discussion forum, the support web page (which includes tech notes and FAQ's), and the company specific procedural language documentation.
    There is also an older document for use with the old sybase toolkits which may be obscelete, and there are some internal documents which were for internal consumption.
    Turloch
    Oracle Migration Workbench Team

  • Tables are not coming to oracle model from sqlserver 2000 while using OMWB

    Hi,
    I am using oracle migration workbench to migrate SQL Server 2000 to oracle 9i. When �capture source database and create the oracle model� is run. only tablespace and users coming to Oracle model from sql server. Table are not coming. These table are owned by dbo in sql server and
    All other users in the database has full privilege on this tables. Do I need to some setup to get this tables
    In oracle model.
    Thanks
    Harish

    Try the following
    || This script sets the "dbo" to have the "sa" login.
    || NOTE: Server settings for the SQL Server instance must be set to
    ||"Allow modifications to be made directly to the system catalogs".
    || This is found under Server Setttings tab for server properties.
    UPDATE sysusers
    SET sid = (SELECT sid FROM master..sysxlogins WHERE name = 'sa')
    WHERE name = 'dbo'

  • Oracle 9.2.0.1.0 link to sqlserver 2000 tables

    Hi!
    I have a sqlserver 2000 running. I also have a oracle 9.2 server with
    windows 2003 running.
    I installed after oracle enterprise edition setup the oracle gateway
    services for sqlserver on my oracle server.
    Then I made some changes in the different oracle *.ora files. Then I
    restarted the oracle service OracleOraHome92TNSListener.
    My question:
    is that all I have to do on my oracle server? have I anything to do on my
    sqlserver 2000?
    can my oracle server be at the same time my gateway to sqlserver 2000 or
    must that be an other computer - sqlserver?
    Thanks

    Really I do not have a direct answer for your question because I have not used the oracle gateway services for sqlserver but if refer you this document. I hope this can help in something and if you any link with documentation about the theme I am going to please you if you replay it.
    Heterogeneous Connectivity Administrator's Guide Contents / Search / Index / PDF
    http://download-east.oracle.com/docs/cd/B10501_01/server.920/a96544.pdf
    Joel Pérez

  • How to Migrate my database from SQL Server 2000 to Oracle

    I want to transfer my database from SQL Server 2000 to Oracle, Can I do this without using Oracle Migration Workbench ??
    Please help me.
    Thanks in advance
    Vicky... :-)

    Do you have a good technical reason for not wanting to use the Migration Workbench?
    Given that it's free and does a hell of a lot of the work for you, why wouldn't you use it?
    Other than that, I would say you would be on your own...
    cheers,
    Anthony

  • Oracle to sqlserver 2000 connection

    Hi
    I recently made a connection from oracle9i (solrais 10) to sql server 2000(V 8.0).
    I'm encountering following issue, if someone could help me that would really great.
    SQL Error: ORA-28536: error in processing Heterogeneous Services initialization parameters
    ORA-28508: invalid value TITANSTAGE for Heterogeneous Services initialization parameter HS_DB_NAME
    ORA-02063: preceding 2 lines from TITANSTAGE
    28536. 00000 - "error in processing Heterogeneous Services initialization parameters"
    *Cause:    An error described by a subsequent error message
    prevented successful processing of Heterogeneous Services
    initialization parameters from the ORACLE server data dictionary.
    *Action:   Check server data dictionary views HS_CLASS_INIT, HS_INST_INIT, and
    HS_ALL_INITS. Look for conditions which could produce
    the error identified in the error message immediately
    following this one.
    Below is the listener.ora
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = shark)(PORT = 1521))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = shark)(PORT = 1523))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = hsmsql)
    (ORACLE_HOME = /z01/app/oracle/product/9.2.0.7)
    (PROGRAM = hsodbc)
    (SID_DESC =
    (PROGRAM = hsodbc)
    (ORACLE_HOME = /z01/app/oracle/product/9.2.0.7)
    (SID_NAME = ititanstage)
    Tnsnames.ora
    hstitanstage=
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = TCP)
    (HOST = 135.63.14.54)
    (PORT = 1521)
    (CONNECT_DATA =
    (SID =ititanstage)
    (HS=)
    Value from initititanstage.ora
    # This is a sample agent init file that contains the HS parameters that are
    # needed for an ODBC Agent.
    # HS init parameters
    HS_FDS_CONNECT_INFO = titan
    HS_DB_NAME = TITANSTAGE
    #HS_DB_DOMAIN= 10.32.130.52
    #HS_FDS_TRACE_LEVEL = 4
    HS_FDS_SHAREABLE_NAME=/usr/openlink/lib/libiodbc.so
    HS_FDS_TRACE_FILE_NAME = /tmp/HSODBC/iniths9i.trc
    #HS_OPEN_CURSORS=2
    # ODBC specific environment variables
    set ODBCINSTINI=/usr/openlink/bin/odbcinst.ini
    set ODBCINI=/usr/openlink/bin/odbc.ini
    # Environment variables required for the non-Oracle system
    #set <envvar>=<value>
    set OPENLINKINI=/usr/openlink/bin/openlink.ini
    set FREETDSCONF=/usr/openlink/bin/freetds.conf
    set OPL_LICENSE_DIR=/usr/openlink/bin
    set LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/openlink/lib
    set PATH=$PATH:/usr/openlink/bin
    odbc.ini
    [titan]
    Driver = /usr/openlink/lib/sql_mt_lt.so
    ServerType = SQLServer 2000
    Username = reader
    Password = reader
    Database = titanstage
    Options = -H 135.63.14.153 -P 1433 -V 8.0
    FetchBufferSize = 99
    ReadOnly = no
    DeferLongFetch = no
    JetFix = no
    Description = Titanstage SQLServer 2000 Lite Connection

    Its good to you,
    I am having a similar problem: I get ORA-28508 from oracle gateway. When I try to connect mssql server from sqlplus.
    Everything goes fine when I connect on port 1433. So I think the root of my problem is that I specify the port number in the wrong way:
    HS_FDS_CONNECT_INFO="address='hostname/instancename' port='1106'"
    If your problem was similar or the same, then you could help me by by posting your solution.
    Cheers,
    Adam Balogh
    DBA

  • Reg. Migrating data from SQL Server 2000 to Oracle

    Hi All,
    I need to migrate a same data from SQL Server 2000 to Oracle 9i.In sql server Export option is there, but the problem is some 30 tables have More than one LONG datatype column in a table. That's why oracle not allow to import.
    Could you guys find any tool for the same.
    Please do the needful.
    Thanks & Regards,
    Prathap

    hi dermot,
    it's very urgent now. Can you please give any solution for this.
    and also i tried the SQL developer tool. But i got an below error,
    Error starting at line 2 in command:
    CREATE USER dbo_testdatalatest IDENTIFIED BY dbo_testdatalatest DEFAULT TABLESPACE USERS TEMPORARY TABLESPACE TEMP
    Error at Command Line:2 Column:45
    Error report:
    SQL Error: ORA-01031: insufficient privileges
    01031. 00000 - "insufficient privileges"
    *Cause:    An attempt was made to change the current username or password
    without the appropriate privilege. This error also occurs if
    attempting to install a database without the necessary operating
    system privileges.
    When Trusted Oracle is configure in DBMS MAC, this error may occur
    if the user was granted the necessary privilege at a higher label
    than the current login.
    *Action:   Ask the database administrator to perform the operation or grant
    the required privileges.
    For Trusted Oracle users getting this error although granted the
    the appropriate privilege at a higher label, ask the database
    administrator to regrant the privilege at the appropriate label.
    Error starting at line 3 in command:
    GRANT CREATE SESSION, RESOURCE, CREATE VIEW TO dbo_testdatalatest
    Error report:
    SQL Error: ORA-01031: insufficient privileges
    01031. 00000 - "insufficient privileges"
    *Cause:    An attempt was made to change the current username or password
    without the appropriate privilege. This error also occurs if
    attempting to install a database without the necessary operating
    system privileges.
    When Trusted Oracle is configure in DBMS MAC, this error may occur
    if the user was granted the necessary privilege at a higher label
    than the current login.
    *Action:   Ask the database administrator to perform the operation or grant
    the required privileges.
    For Trusted Oracle users getting this error although granted the
    the appropriate privilege at a higher label, ask the database
    administrator to regrant the privilege at the appropriate label.
    Error starting at line 4 in command:
    CREATE USER epm_testdatalatest IDENTIFIED BY epm_testdatalatest DEFAULT TABLESPACE USERS TEMPORARY TABLESPACE TEMP
    Error at Command Line:4 Column:45
    Error report:
    SQL Error: ORA-01031: insufficient privileges
    01031. 00000 - "insufficient privileges"
    *Cause:    An attempt was made to change the current username or password
    without the appropriate privilege. This error also occurs if
    attempting to install a database without the necessary operating
    system privileges.
    When Trusted Oracle is configure in DBMS MAC, this error may occur
    if the user was granted the necessary privilege at a higher label
    than the current login.
    *Action:   Ask the database administrator to perform the operation or grant
    the required privileges.
    For Trusted Oracle users getting this error although granted the
    the appropriate privilege at a higher label, ask the database
    administrator to regrant the privilege at the appropriate label.
    Error starting at line 5 in command:
    GRANT CREATE SESSION, RESOURCE, CREATE VIEW TO epm_testdatalatest
    Error report:
    SQL Error: ORA-01031: insufficient privileges
    01031. 00000 - "insufficient privileges"
    *Cause:    An attempt was made to change the current username or password
    without the appropriate privilege. This error also occurs if
    attempting to install a database without the necessary operating
    system privileges.
    When Trusted Oracle is configure in DBMS MAC, this error may occur
    if the user was granted the necessary privilege at a higher label
    than the current login.
    *Action:   Ask the database administrator to perform the operation or grant
    the required privileges.
    For Trusted Oracle users getting this error although granted the
    the appropriate privilege at a higher label, ask the database
    administrator to regrant the privilege at the appropriate label.
    Error starting at line 6 in command:
    CREATE USER lportal_testdatalatest IDENTIFIED BY lportal_testdatalatest DEFAULT TABLESPACE USERS TEMPORARY TABLESPACE TEMP
    Error at Command Line:6 Column:49
    Error report:
    SQL Error: ORA-01031: insufficient privileges
    01031. 00000 - "insufficient privileges"
    *Cause:    An attempt was made to change the current username or password
    without the appropriate privilege. This error also occurs if
    attempting to install a database without the necessary operating
    system privileges.
    When Trusted Oracle is configure in DBMS MAC, this error may occur
    if the user was granted the necessary privilege at a higher label
    than the current login.
    *Action:   Ask the database administrator to perform the operation or grant
    the required privileges.
    For Trusted Oracle users getting this error although granted the
    the appropriate privilege at a higher label, ask the database
    administrator to regrant the privilege at the appropriate label.
    Error starting at line 7 in command:
    GRANT CREATE SESSION, RESOURCE, CREATE VIEW TO lportal_testdatalatest
    Error report:
    SQL Error: ORA-01031: insufficient privileges
    01031. 00000 - "insufficient privileges"
    *Cause:    An attempt was made to change the current username or password
    without the appropriate privilege. This error also occurs if
    attempting to install a database without the necessary operating
    system privileges.
    When Trusted Oracle is configure in DBMS MAC, this error may occur
    if the user was granted the necessary privilege at a higher label
    than the current login.
    *Action:   Ask the database administrator to perform the operation or grant
    the required privileges.
    For Trusted Oracle users getting this error although granted the
    the appropriate privilege at a higher label, ask the database
    administrator to regrant the privilege at the appropriate label.
    Error starting at line 8 in command:
    connect dbo_testdatalatest/dbo_testdatalatest;
    Error report:
    Connection Failed
    Commit
    Regards,
    Prathap.R

Maybe you are looking for

  • When I delete Hotmail messages from my iPhone, they still show up in my Hotmail inbox. What do I do?

    I love checking my emails on my iPhone because of the convenience, but every time I delete a message on my iPhone, the message stays in my Hotmail inbox, and the next time I use my laptop, I have to delete tons of old messages. Is there anyway to mak

  • NOKIA C5-03 Internet connectivity Problem..

    I Have Nokia C5-03 bought before 4 months. I use BSNL Prepaid card, 3G/EDGE enabled. I am facing problem of not being able to connect to internet via 2G/3G reliably. whenever I try to connect to internet, 7 out of 10 times it gives me message" "conne

  • How do I get the binary to apple

    Ok, so I've compiled my application for distribution.  I'm stuck in waiting for upload status in iTunes connect.  How do I deliver it to the actual app file to the app store. Do they no longer support the upload through iTunes connect? I'm told you n

  • Shell Script Help

    I'm an IBM guy and I was assigned this MAC projet. I'm a MAC noob. I have a multi-user eMac. The user account folders are blown away when the computer shuts down leaving just the root accout and default account. I included a new javapolicy file in th

  • Can I reinstall OS X without impacting my Bootcamp XP partition

    I'm going to reformat and install OS X on my main partition on my MBP but as wondering if I could leave my bootcamp partition and XP installation "as is". I do hope I can do this without reinstalling XP or making any other changes??