LiveCycle DB from DB2 to Oracle Migration

We try to migrate an existing installation of the CA (8.2) of a setup of DB2/WebSphere in an Oracle/JBoss environment.  I looked into some migration of oracle tools (http://www.oracle.com/technetwork/database/migration/db2-084087.html), but to realize that there are several issues using a migration tool, especially since the underlying schemas differ between databases.

Anyone doing a similar migration?  Could you describe the steps preformed?

Thanks for any help.

Unfortunately, Adobe does not support migration from one database to another in a given instance of LiveCycle.

Tags: Adobe LiveCycle

Similar Questions

  • Migration from db2 to Oracle - different schemas

    Using the Migration Wizard from the SQL Developer, can I migrate from a db2 schema to another Oracle schema?

    I know that I am able to do the following:

    Source: db2Database target: OracleDatabase.userA

    And the db2 schema (say UserA) is recreated in the OracleDatabase as UserA.

    However, I would like to make

    Source: db2Database.userA target: OracleDatabase:userB

    So far I have not much chance.  Any suggestion would be appreciated...

    Thank you

    \k

    I found a solution.

    I kept the privileges of the user in the State for UserB (is that I used the following)

    GRANT CREATE SESSION, RESOURCE, CREATE VIEW, CREATE MATERIALIZED VIEW, CREATE SYNONYM TO UserB.

    I also changed my preferences under Options Migration\Generation and selected the option of least privilege Schema Migration

    Before data movement occurs, manually, I went into the table MD_SCHEMAS in the migration repository and indicated to the schema UserB (by changing the column NAME for UserB)

    Then with the data step moving ==> it works.  Correctly, the data is migrated in the correct schema,

    Thanks for your help!

  • Migration from MySQL to Oracle SQL does not

    Hello everyone,

    I am new to Oracle SQL, but since our MySQL database is more and get more slowly, I would like to test the performance of Oracle SQL.

    So, I downloaded the current Oracle Linux distro and installed Oracle Database 11 g Express Edition.

    I connected with Oracle SQL Developer and started to migrate the MySQL database by following each step of this tutorial.

    I had to abandon all the privileges of the user migration (otherwise the creation and the deleteion of the migration repository did not) and I have disabled the migration of constraints to make migration work.

    Then I proceeded through all of the steps of the tutorial and ended with a "successful migration.

    The last step of the tutorial, it was to connect to the db migrated (using a combination of username/password generated name), it was not possible.

    What do I already checked?

    • Logged on as user system, I see that there is no new user created for the migrated db
    • Looking at the overview in the migration repository I see 3 phases, not knowing if the third displays an error or if it is not necessary at all (I got 58 tables in the db of the source)
      • Capture of 58/58
      • Convert 58/58
      • Compile 0/58

    From here, I don't know where to look for additional errors.

    I still can't use the migrated db and so I can't go forward with my tests.

    I missed something?

    I would appreciate your help.

    Astaldo

    Astaldo salvation,

    First, you must use SQL Developer 4.0.2 If you aren't already. It is available for free on OTN

    http://www.Oracle.com/technetwork/developer-tools/SQL-Developer/downloads/index-098778.html

    There are two ways to convert tables from MySQL to Oracle.

    1) copy to Oracle

    (2) migration to Oracle.

    Copy to Oracle is the simplest method. It does not imply the creation of a repository of migration.  But it only migrates data without constraints or default values or indexes and tables. The set of data to move should be reasonably low as it is moved on JDBC.

    It may suit your purpose to try to Oracle.

    http://dermotoneill.blogspot.co.UK/2010/11/copy-to-Oracle.html

    Migrate Oracle requires the implementation of a migration repository. But he migrate the default settings, constraints, and indexes and can also provide scripts offline data move that can manage the circulation of large data sets.

    Here is a small script to create a new MIGRATIONREPO user, and grant the correct privileges.

    CREATE USER MIGRATIONREPO IDENTIFIED BY oracle.

    ALTER USER MIGRATIONREPO QUOTA UNLIMITED ON USERS;

    GRANT CONNECT, RESOURCE, CREATE VIEW, CREATE MATERIALIZED VIEW to MIGRATIONREPO;

    Then using SQL Developer, create a connection to MIGRATIONREPO, right-click on the connection and choose "associate the Migration repository.

    I hope you have success best creation of migration with the privileges of theses repository.

    Migration Wizard step 8: target database

    Choose Offline Mode.

    This will present you with a build script that you can inspect before the race.

    The build script must be run using the SQL Developer worksheet and choose free user sufficiently privileged in Oracle generally SYSTEM.

    Note that if you would rather work with the repository you must currently you can browse your browser of Migration.

    Access converted database objects, right-click and select "generate the target".

    This will again open the Migration Wizard in step 8. Allowing you to choose Offline Mode so that you can review the build script.

    Hope this helps,

    Kind regards

    Dermot.

    SQL development team.

  • VCenter DB from SQL 2005 to Oracle Migration

    Hi all

    I am a student if the vCenter DB to SQL 2005 Standard to Oracle migration is possible.

    I already read a lot of documentation and found no clue on that goal.

    Anyone done any? Is it possible and functional?

    Thanks in advance.

    Hello

    There is a thread on the homepage with the same question.

    http://communities.VMware.com/thread/308260?TSTART=0

    So yes it is possible.  But I recommend cool vCenter from a facility.  Either by moving your hosts on manually recreate your pools of files/resources etc, either using a script PowerCLI.  This way you will not end up with a bribery scheme.

  • How transform the trailing spaces & AREAS of data from sybase to oracle

    Helllo,

    We are the migration of data from sybase to Oracle using goldengate... Source Sybase with SPACES (single / Multiple) as data to CHAR/VARCHAR that will be migrated to the VARCHAR2 data type in Oracle. I'm having trouble trying to implement under two conditions to transform the data

    1) Remove SPACES during the IPL for CHAR/VARCHAR

    example: Data Source: "TRAILING SPACE.

    Given target expected - remove the spaces of trailinging: "TRAILING SPACE.

    2) If the data with SPACES like a value (single or Multiple) will be loaded as a single SPACE in Oracle.

    example : Source data                                                  :  "          "

    Expected data from target - unique space:

    Map: dbo. Target TEST_TABLE DEV01. Table_test, COLMAP (USEDEFAULTS, CRE_ID = @IF (@STRRTRIM (CRE_ID) = @NULL AND CRE_ID <>@NULL, ' ', @STRRTRIM (CRE_ID)));

    I tried above mapping in the settings file, but it returns error like below, guidance on the highest implementation requirement will be useful.

    ... RIM (CRE_ID) = @NULL AND CRE_ID...

    ^

    Error in the COLMAP clause. Invalid function or argument.

    Under column mapping is worked :-)

    Map: dbo. Target TEST_TABLE DEV01. TABLE_TEST, COLMAP (USEDEFAULTS, CRE_ID = @IF (@STRLEN (@STRTRIM (CRE_ID)) = 0, ' ', @STRRTRIM (CRE_ID)));

  • Sybase 15 Oracle Migration Error

    I worked on our database from Sybase ASE 15 migration to Oracle. I followed all the instructions on the site Web of Oracle using the Migration SQL Developer tool. Once the migration starts, I get this error for any reason that I could not understand. Here's the XML file for my mistake.

    <?xml version="1.0" encoding="windows-1252" standalone="no"?>
    <log>
    <record>
      <date>2014-07-31T12:26:27</date>
      <logger>oracle.dbtools.migration.workbench.core.MigrationLogResourceBundle</logger>
      <level>SEVERE</level>
      <class>oracle.dbtools.migration.workbench.core.logging.MigrationLogUtil</class>
      <message>Capture
    Enterprise Capture
    Capture failed.  Refer to MIGRLOG table in the repository for details</message>
      <param>oracle.dbtools.migration.workbench.core.ui.FullMigrateTask.doOnlineEnterpriseCapture(FullMigrateTask.java:758)</param>
      <param>oracle.dbtools.migration.workbench.core.ui.FullMigrateTask.doCapture(FullMigrateTask.java:601)</param>
      <param>oracle.dbtools.migration.workbench.core.ui.FullMigrateTask.doMaskBasedActions(FullMigrateTask.java:400)</param>
      <param>oracle.dbtools.migration.workbench.core.ui.FullMigrateTask.doWork(FullMigrateTask.java:314)</param>
      <param>oracle.dbtools.migration.workbench.core.ui.FullMigrateTask.doWork(FullMigrateTask.java:147)</param>
      <param>oracle.dbtools.raptor.backgroundTask.RaptorTask.call(RaptorTask.java:193)</param>
      <param>java.util.concurrent.FutureTask.run(FutureTask.java:262)</param>
      <param>oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$RaptorFutureTask.run(RaptorTaskManager.java:554)</param>
      <param>java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)</param>
      <param>java.util.concurrent.FutureTask.run(FutureTask.java:262)</param>
      <param>java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)</param>
      <param>java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)</param>
      <param>java.lang.Thread.run(Thread.java:745)</param>
      <param>oracle.dbtools.migration.workbench.core.logging.LogInfo@caaa1c7</param>
      <exception>
        <message>oracle.dbtools.migration.workbench.core.ui.FullMigrateTask$FullMigrateTaskException: Capture
    Enterprise Capture
    Capture failed.  Refer to MIGRLOG table in the repository for details</message>
        <frame>
          <class>oracle.dbtools.migration.workbench.core.ui.FullMigrateTask</class>
          <line>758</line>
        </frame>
        <frame>
          <class>oracle.dbtools.migration.workbench.core.ui.FullMigrateTask</class>
          <line>601</line>
        </frame>
        <frame>
          <class>oracle.dbtools.migration.workbench.core.ui.FullMigrateTask</class>
          <line>400</line>
        </frame>
        <frame>
          <class>oracle.dbtools.migration.workbench.core.ui.FullMigrateTask</class>
          <line>314</line>
        </frame>
        <frame>
          <class>oracle.dbtools.migration.workbench.core.ui.FullMigrateTask</class>
          <line>147</line>
        </frame>
        <frame>
          <class>oracle.dbtools.raptor.backgroundTask.RaptorTask</class>
          <line>193</line>
        </frame>
        <frame>
          <class>java.util.concurrent.FutureTask</class>
          <line>262</line>
        </frame>
        <frame>
          <class>oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$RaptorFutureTask</class>
          <line>554</line>
        </frame>
        <frame>
          <class>java.util.concurrent.Executors$RunnableAdapter</class>
          <line>471</line>
        </frame>
        <frame>
          <class>java.util.concurrent.FutureTask</class>
          <line>262</line>
        </frame>
        <frame>
          <class>java.util.concurrent.ThreadPoolExecutor</class>
          <line>1145</line>
        </frame>
        <frame>
          <class>java.util.concurrent.ThreadPoolExecutor$Worker</class>
          <line>615</line>
        </frame>
        <frame>
          <class>java.lang.Thread</class>
          <line>745</line>
        </frame>
      </exception>
    
    
    </record>
    <record>
      <date>2014-07-31T12:26:27</date>
      <logger>oracle.dbtools.migration.workbench.core.MigrationLogResourceBundle</logger>
      <level>WARNING</level>
      <class>oracle.dbtools.migration.workbench.core.ui.FullMigrateTask</class>
      <message>Error:ORA-06550: line 1, column 14:
    PLS-00201: identifier 'SYB12ALLPLATFORM.STAGECAPTURE' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    : FAILED : Database Migration : FAILED</message>
      <param>oracle.dbtools.migration.workbench.core.logging.LogInfo@434de9ab</param>
    
    
    </record>
    </log>
    

    Hello

    My guess is the user you tried to install/partner to the migration repository done don't have the appropriate privileges.

    Best to start over if we can enter the question.

    Start by creating a new user in Oracle for the migration repository. Give the correct privileges

    > Connect to SYS or SYSTEM and run the following commands

    Migrep CREATE a USER identified by migrep;

    GRANT connect, resources, create view, create a view on migrep;

    ALTER USER migrep unlimited quota on USERS;

    Now using SQL Developer, create a connection to the MIGREP and associate the migration repository in this regard.

    Check if migration Repository packages have been created and are compiled valid. Worth the package bodies are valid as well.

    I hope it was just a privilege you were missing.

    Kind regards

    Dermot.

    SQL development team.

  • Oracle Migration Workbench error

    I am migrating and to access the Oracle (version 10.2.0.3) with Oracle Migration Workbench 2000 database.
    Migration Workbench generated the file < AccessDB_Name > .sql.
    When I run the file on the Oracle database under the pre-created Oracle account I get the following error:


    SQL > show user
    The USER is 'SCO_RECCLUB '.
    SQL > SQL REM This script was generated by the Oracle Migration Workbench
    SQL > REM exporter for Microsoft Access on 2008-10-22 10:27:03
    SQL > REM release: 10.2.0.2.0
    SQL > REM Version: Microsoft Access 2000
    SQL > REM not change this file as any changes will invalidate the export
    SQL > REM and later migration of your Microsoft Access database
    SQL >
    SQL > set define off
    SQL > set verify off
    SQL > set serveroutput size 1000000
    SQL > set off comments
    SQL > WHEN SQLERROR EXIT SQL. SQLCODE ROLLBACK
    SQL >
    SQL > start
    2
    WWV_MIG_ACC_LOAD 3. () INS_WWV_MIG_ACCESS
    p_dbid 4 = > 1,
    5 p_dbname = > "rclub_be"
    "6 p_dbsize = > ' 2338 KB."
    7 p_dbpathname = > 'C:\Rec C DB\rclub_be.mdb.
    8 p_dbuser = > "rclub_be"
    9 p_dbpassword = > ' ',
    10 p_isappdb = > 1,
    11 p_isattacheddb = > 0,
    p_convertdb 12 = > 1,
    p_jetversion 13 = > 4.0,
    14 p_accessversion = > 'MS Access 2000',
    15 p_build = > 211,
    p_collatingorder 16 = > 1033,
    p_querytimeout 17 = > 60,
    p_startupform 18 = > NULL,
    19 p_startupshowstatusbar = 0 >
    (20);
    21
    22 end;
    23.
    Start
    *
    ERROR on line 1:
    ORA-02291: integrity (FLOWS_030100.WWV_MIG_ACC_FK) violated constraint - found parent key
    ORA-06512: at "FLOWS_030100.WWV_MIG_ACC_LOAD", line 120
    ORA-06512: at line 3 level


    Disconnected from the database to Oracle 10 g Enterprise Edition Release 10.2.0.3.0 - 64 bit Production
    With partitioning, OLAP and Data Mining options

    I don't know how to proceed with migration or if it is even possible at this stage. Any help or an explanation of the above error message would be very appreciated.

    Thank you for your help

    Paul

    Hi Paul,.

    The file .sql you sponsor, which is generated by the tool export to MS Access, is required for the migration of your Access to Oracle Application Express application. The exporter tool can generate two files:

    * an XML file containing the schema of your database MS Access database information. This file is required by Oracle SQL Developer Migration Workbench to migrate your Access database to Oracle.
    * a SQL script that contains the application for your MS Access application information. This file is used only by the application "Application migration" in Oracle Application Express 3.0 or later versions.

    I would recommend that you do the following:

    1. run the exporter tool again and make sure that you select the option "export for Oracle SQL Developer. This option causes the generation of an XML file, .xml.
    2. run Oracle SQL Developer and create a repository of Migration
    3. with the help of Migration > Capture Microsoft Access exported XML menu option, download the XML file generated in step 1. This will generate a model of capture of the Access database.
    4. create a model of the Oracle, by right-clicking the captured model.
    5 generate the DDL statements to create your migrated schema by right clicking on your template Converted & by selecting the menu option 'generate '. This will result in the generation of a SQL script containing DDL statements that you need to run in order to build your newly migrated schema.
    6. run the SQL script containing your DDL statements, to create your new migrated schema.

    I also recommend to consult the online documentation for [MS Access Migration | http://download.oracle.com/docs/cd/E12151_01/doc.150/e12154/intro_access.htm#BGBIDDGI], in order to better understand the migration process. I hope this helps.

    Kind regards
    Hilary

  • Sybase to Oracle Migration

    Hello

    all documents or information on this topic:

    Sybase to Oracle Migration

    would be appreciated.

    Thank you.

    Hello

    SQL Develoiper should be your choice.

    http://www.Oracle.com/technetwork/database/migration/Sybase-085571.html

    Salman

  • How to import the selected tables from MySQL to Oracle

    Hello world:

    How can I import tables from MySQL to Oracle? I have more than 180 tables in my DB (MySQL), but I copy only 12 of them to ORACLE... rigth now I do it manually, using SQL Developer (rigth clicking on the picture icon and copy to Oracle) but now I need to do this automatically every 4 hours...

    I read on the dblink option, but I don't know if this is the best for this case...

    I appreciate all help.

    Best regards
    Jack

    Hi Jack,

    I think that with a db-link you can define an automated task (PL/SQL + programmer).
    We use a db-link to Oracle's RDBMS to MySQL. So we have no experience.
    We have created the db-link like http://www.pythian.com/news/1554/how-to-access-mysql-from-oracle-with-odbc-and-sql/

    Heike cordially

  • Golden Gate 11 g replicate from MySQL to Oracle

    Golden Gate 11 g for MySQL can read mysql binlog. I have a question, can I use GG11g for MySQL to replicate from MySQL to Oracle?

    Thank and regard

    OK, here's the official word from Oracle on it.

    Oracle GoldenGate now supports MySQL 5.1.15 and later capture and oracle can be a target. Therefore, if you use MySQL 5.1.15 or later, you can indeed use Golden Gate to replicate from MySQL to Oracle when you use GoldenGate 11 g.

  • Script Insert statement to extract data from Table in Oracle 7i

    Hi all, I have an old Oracle legacy system that works for more than 15 years. Every now and then, we need to extract data from this table @ ORacle 7i to import to Oracle 10 G.

    My thoughts are to create a script to Insert statements in oracle 7 and that, to be deployed to Oracle 10 G.

    I found cela scripts in Google and don't know exactly how it works. No explanation on these scripts, would be greatly appreciated. I find that this format can help to produce a set of insert statements in this table to the last table to 10G.

    < pre >
    -Step 1: create this procedure:
    create or replace function ExtractData (v_table_name varchar2) return varchar2 as
    Boolean b_found: = false;
    v_tempa varchar2 (8000);
    v_tempb varchar2 (8000);
    v_tempc VARCHAR2 (255);
    Start
    for tab_rec in (select table_name from user_tables where table_name = upper (v_table_name))
    loop
    b_found: = true;
    v_tempa: =' select ' insert into ' | tab_rec.table_name |' (';
    for col_rec in (select * from user_tab_columns)
    where
    table_name = tab_rec.table_name
    order by
    column_id)
    loop
    If col_rec.column_id = 1 then
    v_tempa: = v_tempa | " ' || Chr (10) | " ' ;
    on the other
    v_tempa: = v_tempa |', ". Chr (10) | " ' ;
    v_tempb: = v_tempb |', ". Chr (10) | " ' ;
    end if;
    v_tempa: = v_tempa | col_rec.column_name;
    If instr(col_rec.data_type,'CHAR') > 0 then
    v_tempc: = "' |' | col_rec.column_name |'| " ' ;
    elsif instr (col_rec.data_type, 'DATE') > 0 then
    v_tempc: = "' to_date ("'| to_char('|| col_rec.column_name||',''mm/DD/YYYY HH24 '') | ") (', "' dd/mm/yyyy hh24"') "';
    on the other
    v_tempc: = col_rec.column_name;
    end if;
    v_tempb: = v_tempb | " ' || Decode('|| col_rec.column_name||',''Null'','||v_tempc||') | " ' ;
    end loop;
    v_tempa: = v_tempa |') values ('| v_tempb |'); "from ' |" tab_rec.table_name | « ; » ;
    end loop;
    If not b_found then
    v_tempa: ='-Table ' | v_table_name | 'not found ';
    on the other
    v_tempa: = v_tempa | Chr (10) | "select"-commit; "double;';
    end if;
    Return v_tempa;
    end;
    /
    display errors

    -STEP 2: run the following code to extract the data.
    Go head
    set pages 0
    game of stripes on
    fixed lines 2000
    the feeding off value
    trigger the echo
    var retline varchar2 (4000)
    coil c:\t1.sql
    Select 'set echo off' from dual;
    Select 'spool c:\recreatedata.sql' from dual;
    Select ' select "-these data was extracted on" | TO_CHAR (sysdate, "mm/dd/yyyy hh24" ") double;' double.

    -The following two lines as repeat as many times as the tables that you want to extract
    exec: retline: = ExtractData ('dept');
    print: retline;

    exec: retline: = ExtractData ('emp');
    print: retline;

    Select 'off spool' from dual;
    spool off
    @c:\t1

    -Step 3: run the updated c:\recreatedata.sql waiting for output to recreate the data.

    Source: http://www.idevelopment.info/data/Oracle/DBA_tips/PL_SQL/PLSQL_5.shtml




    < / pre >

    Hello

    Well what this script do.
    You will pass a table name as input to the function that will return varchar2 (string - insert statement). It will generate 2 t1.sql of sql script that contains the output sequence.

    Will use the first passed the user_tables scipt to check if the input table name exists and if there is the will reterive user_table_columns column names and generate the following sql script.
    Now, this t1.sql will run to generate a final sript formally orders insert that will run you on the target schema (make sure that the table exists).

    * #t1.sql*

    set echo off
    spool recreatedata.sql
    select '-- This data was extracted on '||to_char(sysdate,'mm/dd/yyyy hh24:mi') from dual;
    select 'insert into MY_OBJECT1 ('||chr(10)||'OWNER,'||chr(10)||'TOTAL) values ('||decode(OWNER,Null,'Null',''''||OWNER||'''')||','||chr(10)||''||decode(TOTAL,Null,'Null',TOTAL)||');' from MY_OBJECT1;
    select '-- commit;' from dual;
    spool off
    

    Then @t1.sql runs, and the general insert for the infeed table table.

    -- This data was extracted on 03/09/2009 23:39
    
    INSERT INTO MY_OBJECT1 (OWNER, TOTAL)
      VALUES   ('MDSYS', 92800);
    
    INSERT INTO MY_OBJECT1 (OWNER, TOTAL)
      VALUES   ('TSMSYS', 256);
    
    INSERT INTO MY_OBJECT1 (OWNER, TOTAL)
      VALUES   ('DMSYS', 15104);
    
    INSERT INTO MY_OBJECT1 (OWNER, TOTAL)
      VALUES   ('TESTME', 128);
    
    INSERT INTO MY_OBJECT1 (OWNER, TOTAL)
      VALUES   ('PUBLIC', 2571392);
    
    INSERT INTO MY_OBJECT1 (OWNER, TOTAL)
      VALUES   ('OUTLN', 768);
    
    INSERT INTO MY_OBJECT1 (OWNER, TOTAL)
      VALUES   ('CTXSYS', 21888);
    
    INSERT INTO MY_OBJECT1 (OWNER, TOTAL)
      VALUES   ('OLAPSYS', 78336);
    
    INSERT INTO MY_OBJECT1 (OWNER, TOTAL)
      VALUES   ('KLONDIKE', 2432);
    
    INSERT INTO MY_OBJECT1 (OWNER, TOTAL)
      VALUES   ('SYSTEM', 51328);
    
    INSERT INTO MY_OBJECT1 (OWNER, TOTAL)
      VALUES   ('EXFSYS', 21504);
    
    INSERT INTO MY_OBJECT1 (OWNER, TOTAL)
      VALUES   ('DBSNMP', 4096);
    
    INSERT INTO MY_OBJECT1 (OWNER, TOTAL)
      VALUES   ('ORDSYS', 216192);
    
    INSERT INTO MY_OBJECT1 (OWNER, TOTAL)
      VALUES   ('SYSMAN', 111744);
    
    -- commit;
    

    Hope this helps
    Concerning

  • How to migrate from MySQL to Oracle stored procedure

    Hi all

    I've migrated mysql 5.1.42 - enterprise-gpl-advanced DB for oracle sqldeveloper 3.1.07 tool.

    DB objects migrate successfully except stored procedures.

    I checked .sql and files... Capture process not captured SQL stored procedures.

    Could you please suggest where I can check correct error or how to fix this.

    Thanks in advance.

    Hello

    SQL * Developer version you use is an old and you must use the latest version available from this link.

    Oracle SQL Developer

    However, even the v4 version does not support the migration of procedures stored as stated in this link - MySQL

    http://www.Oracle.com/technetwork/developer-tools/SQL-Developer/supportedmigplatforms-086703.html

    You will need to manually convert the MySQL in Oracle format, stored procedures since even the "Scratch Editor" under "tools - migration '-doesn't have an option for MySQL conversion.

    The documentation includes details of the difference between MySQL and Oracle stored procedures-

    Oracle SQL Developer information for the migration of MySQL®

    in chapter Triggers and procedures stored

    Kind regards

    Mike

  • Problem migrating from Sybase to Oracle timestamp data

    I'm trying to migrate data from a table of sybase with a timestamp to Oracle column. After having run the generated SQL script unload developer, I get a string that looks like this: 0001000000937aa9 < EOFD >

    The generated SQL Developer loading script however will not process it and I get the following message:


    Column Position Len term Encl. Datatype name

    STATUS_TIMESTAMP NEXT * CHARACTER
    String endpoint of: '< EOFD > '.

    Sheet 1: Rejected - error on table DAROS. DR_STATUS, the STATUS_TIMESTAMP column.
    ORA-01438: value larger than the precision specified for the column

    If you SELECT this field in Sybase you get the same string, except that a number is hexadecimal 0x0001000000937aa9.

    Is there a way to overcome this obstacle to which has also had a very smooth migration?

    Thank you
    Alex

    I understand that a "timestamp" in Sybase cannot be mapped to a DATE or TIMESTAMP in Oracle. The Sybase data type is not, contrary to the name, meant to store a date or a time. It is more closely related to a SNA to in Oracle. If you just want to convert the data, you will probably need to store them in a VARCHAR2 column in Oracle. But if you have some code that works on the column, you will probably need to redesign this code by hitting Oracle. If you have code that uses this to optimistic locking / avoid updates that have been lost, according to the version of Oracle, you probably want to watch using the virtual ORA_ROWSCN rather.

    Justin

  • Database Oracle from Windows to Linux migration

    Hey guys,.

    I'm database oracle 11g R2 in Windows 7 migration to Red hat 5 (64-bit) Linux using RMAN by transport.sql file. I installed Oracle 11 g R2 on the two system.

    But the problem is that my data files are scattered in different locations (I mean that all are not in the same directory) and I did not have enough space to all copy in the same directory. Can someone tell me how I'm supposed to write several locations as value the NAME of FILE DB CONVERT parameter when creating transport using RMAN script, I know the command for a directory only.

    RMAN > Convert the new database database linuxdb

    script of transport for "C:\test\transport.sql."

    db_file_name_convert 'C:\oracle\oradata\orcl\' "C:\test".

    the platform "Linux IA < 32 bit >";

    This command allows to convert all the files in the database that resides in the orcl directory and place them in the test directory. But in my case, all the files are not in the directory orcl

    and I can't copy other files in there because I don't have enough space on the entire system.

    I can't create transport script several times because it is incorrect.

    I appreciate your thoughts and suggestions.

    You can specify as many pairs of directories as needed

    db_file_name_convert = ('/ u01/ora/files ' ' / u02/ora/files ' ' / u01/ora/file9 ' ' / u02/ora/file9 ')

  • Need assistance to migrate data from XML to oracle table.

    Hey Odie,

    Im trying to insert data from an xml file into a table.

    My XML file is as follows.

    <? XML version = "1.0" encoding = "UTF-8" standalone = 'yes' ?>

    - < TransferXML >

    < BatchName > HJ69240 < / BatchName >

    < BatchStatus > Park < / BatchStatus >

    - < SubBatch >

    < SubBatchName > UQ80288 < / SubBatchName >

    < SubBatchStatus > project < / SubBatchStatus >

    - < SubBatchDetail >

    < Ingredient > I3308 < / > of theingredient

    < DispensedQty > 0,0 < / DispensedQty >

    < MDispensedQty > 4.0 < / MDispensedQty >

    < / SubBatchDetail >

    - < SubBatchDetail >

    < Ingredient > I3261 < / > of theingredient

    < DispensedQty > 0,0 < / DispensedQty >

    < MDispensedQty > 3.5 < / MDispensedQty >

    < / SubBatchDetail >

    - < SubBatchDetail >

    < Ingredient > I3235 < / > of theingredient

    < DispensedQty > 0,0 < / DispensedQty >

    < MDispensedQty > 0,5 < / MDispensedQty >

    < / SubBatchDetail >

    - < SubBatchDetail >

    < Ingredient > I3142 < / > of theingredient

    < DispensedQty > 0,0 < / DispensedQty >

    < MDispensedQty > 0,2 < / MDispensedQty >

    < / SubBatchDetail >

    </SubBatch>

    - < SubBatch >

    < SubBatchName > ZB97913 < / SubBatchName >

    < SubBatchStatus > incomplete < / SubBatchStatus >

    - < SubBatchDetail >

    < Ingredient > I3309 < / > of theingredient

    < DispensedQty > 0,75 < / DispensedQty >

    < MDispensedQty > 0,0 < / MDispensedQty >

    < / SubBatchDetail >

    - < SubBatchDetail >

    < Ingredient > I3436 < / > of theingredient

    < DispensedQty > 0,0 < / DispensedQty >

    < MDispensedQty > 0,05 < / MDispensedQty >

    < / SubBatchDetail >

    </SubBatch>

    <Final>false</Final>

    < / TransferXML >



    With the help of your previous posts I've migrated data from this xml file in a table that works perfectly well. But these data repeats instead of giving 6 lines that his return 12 lines guide please.


    CREATE TABLE XXBATCH AS

    SELECT A.BatchName, A.BatchStatus, B.SubBatchName, B.SubBatchStatus, C.Ingredient, C.DispensedQty, C.MDispensedQty, A.FINAL

    OF (XMLTable ('/ TransferXML'))

    from xmltype)

    BFILENAME('APPS_DATA_FILE_DIR','HJ69240.) XML')

    nls_charset_id ('AL32UTF8')

    ) COLUMNS

    BatchName VARCHAR2 path (99) "BatchName.

    , Path of the BatchStatus VARCHAR2 (999) "BatchStatus.

    Path VARCHAR2 (99) final 'Final')),

    (XMLTable ('/ TransferXML/SubBatch '))

    from xmltype)

    BFILENAME('APPS_DATA_FILE_DIR','HJ69240.) XML')

    nls_charset_id ('AL32UTF8')

    ) COLUMNS

    Path of SubBatchName VARCHAR2 (99) "SubBatch/SubBatchName".

    , Path of the SubBatchStatus VARCHAR2 (99) "SubBatch/SubBatchStatus".

    (B)

    (XMLTable ('/ TransferXML/SubBatch/SubBatchDetail '))

    from xmltype)

    BFILENAME('APPS_DATA_FILE_DIR','HJ69240.) XML')

    nls_charset_id ('AL32UTF8')

    ) COLUMNS

    Path of the ingredient VARCHAR2 (99) SubBatchDetail/ingredient"."

    , Path of the DispensedQty VARCHAR2 (99) "SubBatchDetail/DispensedQty".

    , Path of the MDispensedQty VARCHAR2 (99) "SubBatchDetail/MDispensedQty".

    (C)

    I didn't test your query, but apparently it's because you have access to the same file three times instead of spend one XMLTable to another correlated nested groups.

    Better, this should work:

    SELECT A.BatchName

    A.BatchStatus

    B.SubBatchName

    B.SubBatchStatus

    C.Ingredient

    C.DispensedQty

    C.MDispensedQty

    A.FINAL

    FROM XMLTable ('/ TransferXML')

    PASSAGE xmltype (bfilename('TEST_DIR','HJ69240.xml'), nls_charset_id ('AL32UTF8'))

    Path of COLUMNS BatchName VARCHAR2 (99) "BatchName.

    , Path of the BatchStatus VARCHAR2 (999) "BatchStatus.

    , Path VARCHAR2 (99) final "Final."

    , Path of XMLTYPE «SubBatch» SubBatchList

    ) AT

    , XMLTable ('/ SubBatch')

    PASSAGE SubBatchList

    Path of COLUMNS SubBatchName VARCHAR2 (99) "SubBatchName".

    , Path of the SubBatchStatus VARCHAR2 (99) "SubBatchStatus".

    , Path of XMLTYPE «SubBatchDetail» SubBatchDetailList

    ) B

    , XMLTable ('/ SubBatchDetail')

    PASSAGE SubBatchDetailList

    Path VARCHAR2 (99) ingredient of COLUMNS "Ingredient."

    , Path of the DispensedQty VARCHAR2 (99) "DispensedQty".

    , Path of the MDispensedQty VARCHAR2 (99) "MDispensedQty".

    ) C

    ;

    Post edited by: odie_63

Maybe you are looking for