OMWB schema prefix (MS SQL Server to Oracle database migration)

I made automatical migration + some manual changes (pipelined functions) to migrate MS SQL 2000 database to Oracle 9i. Still one issue remains which requires lot of manual conversion : Names of the tables in views after automatic migration doesn't contain schema prefix and it doesn't compile on destination database.
My question is: Is there any way to add schema prefix to table names in views automatically during migration process ?

Two things here.
The omwb will login to Oracle and create the views in the schema where they will be stored, hence not needing the schema appended.
If the views are on other schemas than the one being installed into, then yes, there may be some manual edits to do to the table names in the views. This is not configurable today.

Similar Messages

  • OMWB schema prefix (MS SQL Server to Oracle database conversion)

    I made automatical conversion + some manual changes (pipelined functions) to migrate MS SQL 2000 database to Oracle 9i. Still one issue remains which requires lot of manual conversion : Names of the tables in views after automatic conversion doesn't contain schema prefix and it doesn't compile on destination database.
    My question is: Is there any way to add schema prefix to table names in views automatically during migration process ?

    Hi Marcin,
    See my post in the OMWB forum
    Thanks
    BArry

  • Insert and update tables from SQL server to oracle database tables

    Hi,
    I am having problem while update data from sql server to oracle database tables.
    I am doing one way insert +updates that is from SQL Server tables ==> Oracle database tables
    I am using tools Sql server Integration service. I can insert data from sql server to oracle but update can't. Please help me how can I update + insert from sql server to oracle database tables easily.
    Thanks in advance.

    Hi,
    What about using Oracle SQL Developer for migration
    http://www.oracle.com/technetwork/database/migration/sqlserver-095136.html
    HTH

  • How to merge data from SQL server to Oracle Database

    Dear Expert,
    I am having problem with SQL server with Oracle.
    Problem: I want to merge table records from SQL server to Oracle Table. Which License free tool I can use to achive the goals.
    If I able to make a free DB link from Oracle to SQL server , then we can select table and will be able to update.
    Right now I have made a DB link from SQL server to Oracle, Using that I can see the records from oracle database but I can't update them.
    Thanks,
    Sher

    Hi,
    What about using Oracle SQL Developer for migration
    http://www.oracle.com/technetwork/database/migration/sqlserver-095136.html
    HTH

  • Loading data from SQL server to Oracle database

    i want to create one table in oracle db from table in sql server. Table is huge it got 97,456,789 records.
    I created db link (HS) in oracle database which is pointing to sql server. i can select that table from oracle thru db link.
    select * from "dbo"."t1@dblink;
    i fired below create table.
    create table t2 nologging parallel (degree=3) as select * from "dbo"."t1@dblink;
    and its taking long time.... but its running...
    is there any alternate method to do this and and populate table in oracle db faster.
    Please advise. thanks.

    vhiware wrote:
    create table t2 nologging parallel (degree=3) as select * from "dbo"."t1@dblink;
    and its taking long time.... but its running...I doubt that parallel processing will be used as this is unique to Oracle (using rowid ranges typically) and not SQL-Server.
    is there any alternate method to do this and and populate table in oracle db faster.Part of the performance overhead is pulling that data from SQL-Server to Oracle across the network link between them. This can be sped up by compressing the data first - and then transferring that across the network.
    For example: using +bcp+ to export the data on the SQL-Server box to a CSV file, compress/zip the file, scp/sftp the file to Oracle, and then unzipping it there. Parallel and direct load processing can now be done using SQL*Loader to load the CSV into Oracle.
    If this is a Linux/Unix base system, then the unzip/decompress process can be run in parallel with the SQL*Loader process by creating a pipe between the two - where the unzip process writes uncompressed data into the pipe and SQL*Loader reads and loads data as it becomes available via the pipe.
    Alternatively, you can do you own PQ processing. Let's say the data is date ranged. You can create a procedure on Oracle that looks something like this:
    {code}
    create or replace procedure CopyDay( day date ) is
    begin
    insert /*+ append */ into local_tab select * from remote_tab@remotedb where col_day = day;
    -- add logging info, commit, etc.
    end;
    {code}
    You can now start 10 or more of these for different days and run it in the background using DBMS_JOB.

  • Help on Oracle Golden Gate [SQL Server to Oracle Database]

    Hi,
    I am planning to use Oracle Golden Gate to replicate data from SQl Server 2008 to Oracle database. I had below queries which I wanted to get clarity on before making a decision. It would be very helpful if anyone can clarify this
    - Can I set-up OGG to synchronize only a subset of tables within a schema ? (for ex: 10 tables out of 50 tables in a schema)
    - Once the synchronization is set-up after the Initial Load, can the synchronization be paused (for few days) and then resumed again seamlessly ?
    Any help/input would be greatly appreciated.
    Regards
    Rajashekar

    - Can I set-up OGG to synchronize only a subset of tables within a schema ? (for ex: 10 tables out of 50 tables in a schema)
    Yes, the TABLE option in the extract needs to specify the table name (not a wildcard ( * )).  The replecat needs to be done the same way.
    Example:
    --Extract--
    TABLE <SCHEMA>.<TABLE_NAME>
    --Replicat--
    MAP <SCHEMA>.<TABLE_NAME>, TARGET <SCHEMA>.<TABLE_NAME>
    - Once the synchronization is set-up after the Initial Load, can the synchronization be paused (for few days) and then resumed again seamlessly ?
    Once the initial load is done, you can turn off the replicat for a few days.  Only thing is that you need to make sure you have space for the trail files that will be generated and access to any backups/archive logs that you may need later.

  • Migration from SQL Server to Oracle database

    I have got 2 questions:
    1. We are planning to convert our OLTP sql server databases to oracle databases. I tried using SQL Developer to migrate a small sql server database to oracle database(size 5Gb). It was fine. when I tried to migrate another database(size 90G), it is taking too long. The problem with sql developer is I cannot choose and pick tables. out of 250 tables, I need to migrate abt 80 tables(size will be abt 50G). can anybody share their experiences, if any, in converting medium size sql server databases to oracle databases? any others options??
    2. I am planning to convert sql server ddl to oracle ddl. I am testing bcp out and use sql loader to import the data. Right now, I am manually creating oracle tables from sql server tables. I am using http://download.oracle.com/docs/cd/E11882_01/gateways.112/e12069/apa.htm#BABCIIDI to convert the code. Are there any other better ways to convert sql server DDL to Oracle DDL?
    Thanks in advance

    DDLs should be converted manually. Oracle is not SQL-Server.
    If you for example have the partitioning option, you should consider using partitioning and local indexes where possible. Not all tables need to be hash tables. Do you defer segment creation or not? What is the type of tablespace? Do you set percentages for free and used to manage when the data block is on the free list and how much is reserved in the data block for updating rows in that block?
    There are numerous considerations to make in terms of the physical database design.
    Using BCP and SQL*Loader sound good. SQL*Loader is fast and scalable - am using it to load up to 3.6 million rows every 60 seconds. Direct and parallel loads provide the best performance in this regard (assuming that the underlying table structure and usage supports this approach).

  • Periodic Importing of data from SQL Server into Oracle Database

    I would like to know how I can use the SQL Developer tool to import data from a SQL Server database across the internet into an Oracle Database on a periodic basis? I understand there is a Migration Workbench, but it seems to be only a one off activity.
    What I would really like is to be able to import data for example, very 30 minutes from multiple tables/views in a SQL Server Database into an Oracle Database (overwriting or modifying existing same data) without the need for Heterogeneous Connectivity, as my Oracle Database is not my LAN.
    Thank you for your kind ideas and suggestions.

    To be honest the best way to do it is DG4ODBC or DG4MSQL. All other solutions need manual interaction.
    The gateways DG4ODBC and DG4MSQL are independant from the Oracle database and also from the SQL Server location. In a worst case scenario you have an Oracle database on machine A, the gateway on machine B and the SQL Server on machine C.
    Gateways were built to exactly do what you want. As you have access to the Oracle database the only part you need to define within the Oracle database is a db link. If you specify the full tns connect identifier there is even no need to edit the tnsnames.ora file.
    Even if you excluded the gateway in your last sentence the best solution would be the gateway.
    Another option you can use is the SQL Server linked server mechanism. It allows you to link another server using OLEDB driver. In your case you can then link the Oracle db into your SQL Server and then insert/update/delete and select Oracle tables from the SQL Server. Using now a trigger will replicate the data immediately to the Oracle db.

  • Clarification on SQL Server to Oracle 8i Migration

    I have seen several posts on this, but would like to clarify the
    following issues:
    1. Does Migration Workbench come on the CD with Oracle 8i?
    2. Does Migration Workbench support migrating to 8i? (The
    version I have seen, 1.0.4, goes from 6.5 to 8.0.5 only).
    3. Does the latest version of Migration Workbench convert SQL
    Server 7.0, or just 6.5
    Thanks for your help, and keep up the good work!
    null

    TEMP tables were made available in Oracle8i (8.1.5).
    You should find information about them in the Oracle8i
    documentation. Perhaps try the Oracle8i section on OTN.
    Regards,
    Marie
    Sridhar Parthasarathy (guest) wrote:
    : Marie,
    : What is with temp tables? I want to do SQL server type
    : temp tables. (select * into #temp_table from table_name) In
    : which version of oracle is this possible. Also where can I find
    : any documentation on the above ?????? Prompt reply
    appreaciated.
    : Thanks
    : Sridhar
    : Oracle Migration Workbench Team wrote:
    : : Shane,
    : : 1. The Migration Workbench does not ship with the
    : : Oracle8i CD. It can be downloaded from OTN or be ordered
    : : FREE from any Oracle Sales office, Part# Z24203.
    : : 2. The new version of the Migration Workbench, released
    : : internally, and to be available on OTN for download next
    : : week (May 31st) 1.2.1 supports Oracle8i features such as
    : : temporary tables.
    : : 3. The latest version does not yet support SQL Server 7.0.
    : : We are presently evaluating the effort involved in adding
    : : support and once completed we will be able to establish
    : : release dates. We do presently have Sybase support available
    : : in Beta and that should soon be releasing.
    : : Regards,
    : : Marie
    : : ===
    : : Shane Brubaker (guest) wrote:
    : : : I have seen several posts on this, but would like to
    clarify
    : : the
    : : : following issues:
    : : : 1. Does Migration Workbench come on the CD with Oracle
    8i?
    : : : 2. Does Migration Workbench support migrating to 8i?
    : (The
    : : : version I have seen, 1.0.4, goes from 6.5 to 8.0.5 only).
    : : : 3. Does the latest version of Migration Workbench
    convert
    : : SQL
    : : : Server 7.0, or just 6.5
    : : : Thanks for your help, and keep up the good work!
    : : Oracle Technology Network
    : : http://technet.oracle.com
    Oracle Technology Network
    http://technet.oracle.com
    null

  • Changes to be made in EP server during Oracle database migration

    Hi,
    Currently we have a scenario where both our Oracle database 10.2 and NW 7.0 server are on same system which has got the hardware configuration as 32 bit 2003 windows machine. Due to memory constraints DB team is planning to migrate the database in to another system which is of 64 bit unix OS.
    Now before they migrate the Oracle database from current system to new system i wanted to know on what all parameters and changes have to carried out from NW/ EP end so that after the database is moved EP points to the same Oracle database in the new system and runs smoothly.
    Thanks in Advance,
    Regards,
    Vipin.

    > Currently we have a scenario where both our Oracle database 10.2 and NW 7.0 server are on same system which has got the hardware configuration as 32 bit 2003 windows machine. Due to memory constraints DB team is planning to migrate the database in to another system which is of 64 bit unix OS.
    This is a heterogeneous migration (you change the operating system) - which requires a certified migration consultant to do that task. If you do it on your own you will loose support for the target system (see http://service.sap.com/osdbmigration)
    > Now before they migrate the Oracle database from current system to new system i wanted to know on what all parameters and changes have to carried out from NW/ EP end so that after the database is moved EP points to the same Oracle database in the new system and runs smoothly.
    You will have to use the Java export/import method, not copying database files over.
    Check the official system copy guides.
    Markus

  • How to connect to a Sql server from Oracle using db link

    Hi All,
    Does anybody have any idea about how to connect to a sql server from oracle database using db link to syncronize the data? I need to pull the data from Sql server table to Oracle tables and relay messages back to the sql server.
    Thank you,
    Praveen.

    we have 2 products - DG4MSQL and DG4ODBC.
    DG4ODBC is for free and requires a 3rd party ODBC driver and it can connect to any 3rd party database as long as you use a suitable ODBC driver
    DG4MSQL is more powerfull as it is designed for MS SQL Server databases and it supports many functions it can directly map to SQL Server equivalents - it can also call remote procedures or participtae in distributed transactions. Please be aware DG4MSQL requires a license - it is not for free.
    Check out Metalink and you'll find notes how to configure both products.
    For a generic overview:
    Note.233876.1 Options for Connecting to Foreign Data Stores and Non-Oracle Databases
    And the setup notes:
    DG4ODBC
    Note.561033.1 How to Setup DG4ODBC on 64bit Unix OS (Linux, Solaris, AIX, HP-UX) :
    Note.466225.1 How to Setup DG4ODBC (Oracle Database Gateway for ODBC) on Windows 32bit RDBMS.HS-3-2 :
    Note.109730.1 How to setup generic connectivity (HSODBC) for 32 bit Windows (Windows NT, Windows 2000, Windows XP, Windows 2003) V817:
    Note.466228.1 How to Setup DG4ODBC on Linux x86 32bit
    DG4MSQL
    Note.466267.1 How to Setup DG4MSQL (Database Gateway for MS SQL Server) on Windows 32bit
    Note.562509.1 How to Setup DG4MSQL (Oracle Database Gateway for MS SQL Server) 64bit Unix OS (Linux, Solaris, AIX,HP-UX)
    Note.437374.1 How to Setup DG4MSQL (Oracle Database Gateway for MS SQL Server) Release 11 on Linux

  • Show data from sql server to oracle db

    Hi,
    I am using oracle 10g R1 on windows 2003 platform. On one machine database 10gR1 is running and on other machine sql server is running. I want to retrieve some data from sql server to oracle database. Please tell me how I can show data from sql server to oracle db.
    Thanks

    To make heterogeneous connection with oracle:
    1.First make an ODBC connection, make entry in System DSN(to create a data source)
    2.Make an entry in tnsnames.ora
    3.Make an entry in listener.ora under SID_LIST_LISTENER
    4.Make an entry in file named init<HS>.ora file located "oracle_base\oracle_home\db\hs\admin"
    5.Restart the listener
    e.g:
    1. create a odbc system dsn named like 'sqlserver'
    2. sqlserver= (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp) (HOST=xx.xx.xx.xx) (PORT=1521))
    (CONNECT_DATA = (SERVICE_NAME=sqlserver))
    (HS = OK)
    3. (SID_DESC = (SID_NAME = sqlserver) (ORACLE_HOME = oracle_base\oracle_home\db) (PROGRAM = hsodbc) )
    4.Create a file named initsqlserver.ora and make the following entry:
    HS_FDS_CONNECT_INFO = sqlserver
    Alternatively, you can copy the file named inithsodbc.ora and rename it to initsqlserver.ora
    and edit as HS_FDS_CONNECT_INFO = sqlserver
    5. lsnrctl reload listener_name
    regards
    adnan kaysar

  • Copy Data SQL Server to Oracle

    Hello Gurus,
    I need to migrate a data i.e only1 table from sql server to oracle 9.2.0.1.0. I've created system DSN connection also, but not working. I've tried all methods of destination like
    1. Oracle Provider for OLE DB.
    2. Microsoft ODBC Driver for Oracle.
    But not able to get data into Oracle Table.
    SQL Server gives message data transferred to Oracle.
    But when queried, no rows selected.
    Response required.
    Thanks

    Export data from SQL Server to Oracle database with
    DTS Import/Export Wizard.
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dtssql/dts_tools_wiz_8vsj.asp

  • Converting SQL SERVER  to Oracle

    Hey everyone,
    I have one thesis about database. I have a plan to making a program to convert database with sql server to Oracle Database. Anyone have made some programs that similar with mine ?? Anyone can give me some informations? Can you tell me about the concept??
    Thanks everyone....

    aDiny wrote:
    can you tell me the concept and example programs that able to do this job like that?
    1. Define data in source
    2. Define destination.
    3. Read data from source (based on 1)
    4. Map date to destination (based on 1 and 2)
    5. Write data to destination (based on 2)

  • MS SQL Server 2000 - Oracle 8.1.7 nvarchar problem.

    Hello all,
    I move my database from MS SQL server 2000 to the Oracle 8.1.7 (W2K platform) and note, that Oracle Migration Workbench (ver 9.2.0.1.2 build 20020910) create wrong SQL Server model. In my SQL Server table I have one column with nvarchar type with length equal 3000 (for example) , but Oracle Migration Workbench create corresponded table in SQL server model with nvarchar type BUT with length equal 6000. I note that it multiply the length of nvarchar and nchar types by 2 and as a result in Oracle model that column has a CLOB type.
    Is anyone has any ideas how to fix it?
    Best regards,
    Victor Conovalov

    Hi Victor,
    this is a bug in the OMWB - bug 2632100. Can I suggest that you use the OMWB to migrate the database schema only to Oracle (i.e in step 3 of the Migration Wizard, choose 'No' when asked 'Do you want to migrate the table data to Oracle'). Your database schema should migrate as uaual. Then use Enterprise Manager to change the offending column types from 'CLOB' back to 'NVARCHAR' and also half the length.
    Alternatively, you can generate the generate migration scripts from the OMWB Oracle Model (details in the reference guide and user guide) and edit the scripts so that you can change the offending column types from 'CLOB' back to 'NVARCHAR' and half the length. These scripts can then be used to generate the schema and stored programs in the Oracle Database.
    You can then use the OMWB to generate SQL*Loader scripts (more details in the reference guide and users guide) so that you can move the data to your Oracle database.
    I will keep the bug updated with any news of a fix.
    I hope this helps,
    Tom.

Maybe you are looking for

  • How to assign a query retrived value to a user defined  object in a table

    how to assign a query retrived value to a user defined  object in a table

  • Mapplets in IDQ 9.1 and 9.6

    Hi All, I imported mapplets from IDQ 9.1 to 9.6 and I am trying to add those mapplets within a mapping but encountering an error that "cannot connect to active transformations".All these mapplets are part of a mapping in 9.1 and the mapping is workin

  • Re:selection screen

    hi all, could u pls help me out? in my hr-abap spec given like the report can be run for any date range up to 7 days.... that means the difference between begin date and enddate should be 7. how can i restrict the user that he only  the selected date

  • Using Dashcode for iBooks-can you create custom links?

    i'd like make an iBook where I have a Table of Contents that links to specific pages, does anyone know if I can accomplish this through Dashcode and importing the file(s) into the iBooks author?

  • I need to get Keyboard input as well as mouse input on a JButton

    I need to get Keyboard input as well as mouse input on a JButton I have attempted to implement KeyListener. I get the keyCode but I need it to go in to the same String variable as my Actionlistener section.