My Experiences re: Migrating SQL Server Database to Oracle

I am using SQL Developer EA4 for thsi conversion, best attempt yet.
I had numerous problems with this conversion.
1. The wizard asked me to specify the new Oracle database; instead it just ignored this information and created an Oracle database similarly named as the SQL Server database. I also noticed a file name "Migration.out" was produced; it contained errors such as:
Error starting at line 3 in command:
CREATE USER Emulation IDENTIFIED BY Emulation DEFAULT TABLESPACE USERS TEMPORARY TABLESPACE TEMP
Error at Command Line:3 Column:36
Error report:
SQL Error: ORA-01031: insufficient privileges
01031. 00000 - "insufficient privileges" and
Error starting at line 4 in command:
GRANT CREATE SESSION, RESOURCE, CREATE VIEW, CREATE MATERIALIZED VIEW, CREATE SYNONYM,CREATE PUBLIC SYNONYM TO Emulation
Error report:
SQL Error: ORA-01031: insufficient privileges
01031. 00000 - "insufficient privileges" and
Error starting at line 7 in command:
CREATE USER dbo_COREv13 IDENTIFIED BY dbo_COREv13 DEFAULT TABLESPACE USERS TEMPORARY TABLESPACE TEMP
Error at Command Line:7 Column:38
Error report:
SQL Error: ORA-01031: insufficient privileges
01031. 00000 - "insufficient privileges" and
Error starting at line 8 in command:
GRANT CREATE SESSION, RESOURCE, CREATE VIEW, CREATE MATERIALIZED VIEW, CREATE SYNONYM TO dbo_COREv13
Error report:
SQL Error: ORA-01031: insufficient privileges
01031. 00000 - "insufficient privileges".
I followed all of the steps listed in the "Help" section re: Migrations but still ended up with these errors.
2. My schema consists of 1000+ tables; approximately 10 tables were NOT created. When I copied the SQL from Migration.sql making NO changes and pasted it into the new Oracle database it created without issues.
3. While the conversion is taking place, different objects (constraints, indexes, foreign keys, etc) are shown to be copied; their appears to be ordering of these items. Shouln't a dependancy tree be established, and object converted based on this?
4. Several tables, in my case about 250 tables did NOT get any data copied across. No reasons given.
5. A log of all activities should be produced for review and completeness.
6. I tried to use the "Migrate select tables" option but met with no success. Apparently, it makes an assumption that both the "source" and "target" databases wil be of the same type (ie both SQL Server or both Oracle); this does not make any sense to me since the point of the exercise is to migrate data from one database vendor to another. Obviously, different database vendors use differing datatypes for similar data (ie dates).
7. I noticed in the "Migration" sql that the "Connect" statements are not correct; they were missing the "instance name" portion.
8. Also, when I looked in the "MIGRATION" sql, I could not find any entries for the last step of the conversion - the movement of data from SQL Server to Oracle. Is this intentional or an oversight.
I dont want to appear negative on this Migration; I have used SQL Developer since it inception; in my opinion this is the best attempt to date.
Murray Sobol

Hi Murray,
Thanks for this feedback.
There is a lot of questions here, I think some of it boils down to misunderstandings, which we should clarify in the doc.
Hopefully Ill get a video of a migration online soon as well.
But here is a brief break down.
*1.*
"The wizard asked me to specify the new Oracle database; instead it just ignored this information and created an Oracle database similarly named as the SQL Server database."
So this relates to Step 7 of the Migration Wizard. Where you can select the target connection.
SQL Developer doesn't ignore the Target Connection you selected, It just uses it to connect to the target database , not the target schema.
SQL Developer generates a new target schema for the migrated objects. It standard approach is not to generate objects directly into an existing Schema.
The Target Connection is used to create all the migrated objects (including new Oracle Schemas) in your target oracle database. So you should choose an Oracle Target Connection which has enough privileges to create new Schemas and Objects.
But as you have found, it doesn't generate the migrate objects , like tables, ... , directly into your chosen Target Connection.
From the errors you encountered it doesn't sound like the Target Connection (and the underling Oracle Schema) doesn't have the privileges to create other Schemas.
If you use something like a connection to the SYSTEM schema on your target database, it should run OK.
It wont create any objects in SYSTEM, rather it will use SYSTEM privileges to create a new schema (ex: dbo_Northwind) and populate it.
You don't have to use SYSTEM, but you do need a schema with enough privileges to create other schemas.
That is the straight forward way. But if you really need to generate into an existing schema the following steps can be taken.
a)rename the schema under the Converted Database Objects
b)Right click "Converted Databases Objects" and choose generate. it will kick off the Migration Wizard in the correct place
*2.*
My schema consists of 1000+ tables; approximately 10 tables were NOT created. When I copied the SQL from Migration.sql making NO changes and pasted it into the new Oracle database it created without issues.
When you say Migration.sql , is the entire generation file , which can be found in your <outputspecified>/generated/<projectname.modelname>.sql ?
When your say "pasted it into the new Oracle database" , are you running it in SQL Developers SQL Worksheet using the Target Connection.
Basically your migration is all out of shape once the target Schemas are not created. So the above issues (insufficient privileges) has to be resolved first.
Please post back if it is still an issue.
*3.*
While the conversion is taking place, different objects (constraints, indexes, foreign keys, etc) are shown to be copied; their appears to be ordering of these items. Shouln't a dependancy tree be established, and object converted based on this?
Objects are converted in a particular order and their dependencies are persisted so that they can be generated in the correct order.
Are you seeing an issue?
*4.*
Several tables, in my case about 250 tables did NOT get any data copied across. No reasons given.
I'm surprised any tables were populated with data due to the target schema not being created.
The online data move is pretty simple and it does not report or recover very well from issues.
If you are having difficulties once item 1. is resolved, please post an example of the source table and I will give it a go.
For better control of the data move with much more powerful tweaking, error handling, reporting and performance try the offline data move.
SQL Developer can created a suite of scripts which use SQL Servers BCP tool to dump out the data to dat files, and Oracle SQL*Loader tool to insert the data in the dat file into Oracle.
*5.*
A log of all activities should be produced for review and completeness.
The output/generated/<projectname.modelname>.out provides the output of running the generation script.
The migration reports http://dermotoneill.blogspot.com/2010/11/migration-reports-30.html outline what happens during the migration.
Apart from online data move issues, is there any other data missing?
*6.*
I tried to use the "Migrate select tables" option but met with no success. Apparently, it makes an assumption that both the "source" and "target" databases wil be of the same type (ie both SQL Server or both Oracle); this does not make any sense to me since the point of the exercise is to migrate data from one database vendor to another. Obviously, different database vendors use differing datatypes for similar data (ie dates).
Do you mean "Copy To Oracle" ? This option is intended to migrate tables from non Oracle databases like SQL Server to Oracle.
Can you give more details on what issue you are seeing.
*7.*
I noticed in the "Migration" sql that the "Connect" statements are not correct; they were missing the "instance name" portion.
The generation script is meant to be run using SQL Developers SQL Worksheet. I think you only get this "instance name" issue if running from SQL*Plus.
Can you confirm
8. Also, when I looked in the "MIGRATION" sql, I could not find any entries for the last step of the conversion - the movement of data from SQL Server to Oracle. Is this intentional or an oversight.
The online data move is performed separately from creating the objects. It is not script based, it uses JDBC to pump the data from the source database to the target database.
In summary , I would
a) Create a connection to your Target database using your SYSTEM schema
b) Right click on your "Converted Database Objects" and choose "Generate Target"
c) Choose your new "System" connection as the Target Connection
d) Follow the Migration Wizard to the end.
You will end up with a new target Schema and the migrated objects in it.
Check the .out file to see the errors
and the migration reports http://dermotoneill.blogspot.com/2010/11/migration-reports-30.html
Regards,
Dermot
SQL Developer Team.

Similar Messages

  • Migrating SQL Server database to Oracle 8i - any known issues

    Hi,
    I am in the process of migrating SQL Server database to Oracle 8i for testing purpose.
    When I do migrate SQL Server database to Oracle 8i, am I doing any harm to the exiting
    SQL Server database? Would the users be able to use SQL Server database as usual?? Are
    there any known issues in this regard?
    Please reply.
    Thanks.
    Ramesh

    Hi,
    I am in the process of migrating SQL Server database to Oracle 8i for testing purpose.
    When I do migrate SQL Server database to Oracle 8i, am I doing any harm to the exiting
    SQL Server database? Would the users be able to use SQL Server database as usual?? Are
    there any known issues in this regard?
    Please reply.
    Thanks.
    Ramesh Hi Ramesh!
    The Migration Workbench does not make any modifications to the SQL Server database. It only reads information from it. Your users should be able to use the SQL Server database as usual.
    Please note however that if you migrate the data over to Oracle using the Migration Workbench and your users continue to enter/update data in the exiting SQL Server database then you may need to move all that data over again in order to have the most up to date data in the Oracle database.
    thanks
    - Garry

  • Quick Migrate: SQL Server database to Oracle

    When I try Quick Migrate: SQL Server database to Oracle, I get the following error messages:
    1. Locating source plugin...failed
    2. Checking multi-schema privileges...Privilege 'CREATE ROLE" is not granted with admin option.
    Error #1 I do not understand.
    Error #2: I created the user as follows:
    DROP USER GRAINTEST CASCADE
    CREATE USER GRAINTEST
    IDENTIFIED BY SQL
    DEFAULT TABLESPACE SMARTSOFT_DATA
    TEMPORARY TABLESPACE TEMP
    QUOTA UNLIMITED ON SMARTSOFT_DATA
    QUOTA UNLIMITED ON SMARTSOFT_INDEX
    GRANT CONNECT,
    RESOURCE,
    CREATE ROLE,
    CREATE VIEW,
    CREATE SESSION,
    ALTER ANY TRIGGER TO GRAINTEST
    DROP ROLE R_GRAINTST
    CREATE ROLE R_GRAINTST NOT IDENTIFIED
    GRANT R_GRAINTST TO GRAINTEST
    WITH ADMIN OPTION
    Thanks
    Murray

    Murray,
    Apologies for referring to the 1.5 documentation but the 2.1 documentation still has the same information about creating a user to hold the repository.
    You initially reported 2 problems -
    1. Locating source plugin...failed
    2. Checking multi-schema privileges...Privilege 'CREATE ROLE" is not granted with admin option.
    For the first error have you installed the necessary JDBC driver ? I have just installed SQL*Developer 2.1 on a new laptop and could successfully connect following the documentation steps -
    Oracle® SQL Developer
    User’s Guide
    Release 2.1
    2.5.2 Before Migrating From Microsoft SQL Server or Sybase Adaptive Server
    To configure a Microsoft SQL Server or Sybase Adaptive Server database for
    migration:
    1. Ensure that the source database is accessible by the Microsoft SQL Server or
    Sybase Adaptive Server user that is used by SQL Developer for the source
    connection. This user must be able to see any objects to be captured in the
    Microsoft SQL Server or Sybase Adaptive Server database; objects that the user
    cannot see are not captured. For example, if the user can execute a stored
    procedure but does not have sufficient privileges to see the source code, the stored
    procedure cannot be captured.
    2. Ensure that you can connect to the Microsoft SQL Server or Sybase Adaptive
    Server database from the system where you have installed SQL Developer.
    3. Ensure that you have downloaded the JTDS JDBC driver from
    http://jtds.sourceforge.net/.
    4. In SQL Developer, if you have not already installed the JTDS driver using Check
    for Updates (on the Help menu), do the following:
    a. Click Tools, then Preferences, then Database, then Third Party JDBC Drivers.
    b. Click Add Entry.
    c. Select the jar file for the JTDS driver you downloaded from
    http://jtds.sourceforge.net/.
    d. Click OK.
    ========
    The second error is again documented in the 2.1 documentation -
    5.99 Privilege Warning for Migration
    This dialog box is displayed if you click Verify in the Quick Migrate box and the
    database user for the connection does not have all privileges necessary for a
    multischema migration. For multischema migrations, this user must granted the
    RESOURCE role with the ADMIN option; and this user must also be granted the
    CREATE ROLE, CREATE USER, and ALTER ANY TRIGGER privileges, all with the
    ADMIN option.
    If you are performing a single-schema migration, you can ignore this warning.
    =====
    Which errors are you now seeing and which user was used to hold the repository ?
    If you are using GRAINTEST for the repository then create it using this syntax -
    CREATE USER GRAINTEST IDENTIFIED BY password <=== change password as necessary
    DEFAULT TABLESPACE users TEMPORARY TABLESPACE temp; <=== change tablespaces as necessary
    GRANT CONNECT, RESOURCE, CREATE VIEW, CREATE PUBLIC SYNONYM TO
    GRAINTEST WITH ADMIN OPTION;
    GRANT ALTER ANY ROLE, ALTER ANY SEQUENCE, ALTER ANY TABLE, ALTER TABLESPACE,
    ALTER ANY TRIGGER, COMMENT ANY TABLE, CREATE ANY SEQUENCE, CREATE ANY TABLE,
    CREATE ANY TRIGGER, CREATE ROLE, CREATE TABLESPACE, CREATE USER, DROP ANY
    SEQUENCE, DROP ANY TABLE, DROP ANY TRIGGER, DROP TABLESPACE, DROP USER, DROP ANY
    ROLE, GRANT ANY ROLE, INSERT ANY TABLE, SELECT ANY TABLE, UPDATE ANY TABLE TO
    GRAINTEST with admin option ;
    then when making the migration make sure the Oracle connection is to this user.
    Please update the thread with the errors you get after following these steps.
    Regards,
    Mike

  • Converting Access application after migrating SQL Server database

    I have used migration workbench to migrate an access database and application. I now have sql server databases with access applications that need to be migrated. How can I convert the access applications that currently use sql server as a database? I don't see that migration workbench considers this combination.

    If you have and Access/SQL Server combination. then download the SQL server plugin appropriate to your version of SQL server. Go ahead and migrate the SQL Server database to Oracle. Once this is done, then update your access application so your link tables point to your newly migrated Oracle database.
    Donal

  • Migrating SQL Server DB to Oracle DB - probably EASY answer

    I completed the tutorial on migrating SQL Server DB to Oracle. When I try on my own database, it all migrated well except anything containing a datetime. When I run the oracle_ctl.bat file and view any of the log files, I see Record 1: Rejected - Error on table DBO_RIVERSIDEDB_NCWCD_TEST.TS6HOUR_TAIN, column DATE_TIME.
    ORA-01843: not a valid month. Do I need to change the first line of the file set NLS_DATE_FORMAT=Mon dd YYYY HH:mi:ssAM ? In the .dat file created from the unload_script.bat, the data starts out 1275<EOFD>2007-05-11 00:00:00.000<EOFD>74.900000000000006<EOFD><EOFD><EORD>1275<EOFD>. So my questions is about the date_format - is that the same for all SQL Server databases or do I need to enter something based on MY database? I am definitely a newbie so this is probably a super easy question. Thanks so much for any help!

    Hello,
    There are two different date format in SQL Server.
    1] DateTime : 2010-08-03 12:48:15.170
    2] SmallDateTime: 2010-08-03 12:48:00     
    Both the date will be inserted in Oracle Date column.
    Is there any automated way to generate datamove script to tackle these differences? I've around 200 tables to be migrated and there may be many such cases.
    The issue with Oracle SQL Developer setting i.e. Tools >Preferences> (Under) Migration> Data Move Option, there are two masks we can specify, one for Date Mask and other for Timestamp. How can I set both of these for converting data into Date, not in timestamp.
    Below is my .CTL file, none of below fields are timestamp, but since incoming data in in timestamp format, it is applying timestamp mask and eventually failing to insert data into table
    load data
    infile '[PARTSORDER].dat'
    "str '<EORD>'"
    into table admin.PARTSORDER
    fields terminated by '<EOFD>'
    trailing nullcols
    ORDERID ,
    GenDate "TO_TIMESTAMP(:GenDate, 'YYYY-MM-DD.HH24.MI.SS.ff3')",
    Status "DECODE(:Status, CHR(00), ' ', :Status)",
    StatusBy ,
    StatusDate "TO_TIMESTAMP(:StatusDate, 'YYYY-MM-DD.HH24.MI.SS.ff3')",
    Approved ,
    ApprovedBy ,
    ApprovedDate "TO_TIMESTAMP(:ApprovedDate, 'YYYY-MM-DD.HH24.MI.SS.ff3')",
    TrackingNumber "DECODE(:TrackingNumber, CHR(00), ' ', :TrackingNumber)",
    SVOther "DECODE(:SVOther, CHR(00), ' ', :SVOther)",
    ShippedVia "DECODE(:ShippedVia, CHR(00), ' ', :ShippedVia)",
    ShippedBy "DECODE(:ShippedBy, CHR(00), ' ', :ShippedBy)",
    ShippedDate "TO_TIMESTAMP(:ShippedDate, 'YYYY-MM-DD.HH24.MI.SS.ff3')",
    CompletedBy "DECODE(:CompletedBy, CHR(00), ' ', :CompletedBy)",
    CompletedDate "TO_TIMESTAMP(:CompletedDate, 'YYYY-MM-DD.HH24.MI.SS.ff3')",
    ORDERType "DECODE(:ORDERType, CHR(00), ' ', :ORDERType)",
    RMAID ,
    RMANumber "DECODE(:RMANumber, CHR(00), ' ', :RMANumber)",
    BackOrdered ,
    XORDERID ,
    PARTSORDERSENT "DECODE(:PARTSORDERSENT, CHR(00), ' ', :PARTSORDERSENT)",
    SHIPMENTID "DECODE(:SHIPMENTID, CHR(00), ' ', :SHIPMENTID)"
    Any help in this regard will be highly appreciated!
    Thanks
    Vinod

  • Migration sql server 2000 to oracle 9i

    Hi
    I migrate sql server 2000 to oracle 9i
    when i capture Microsoft Sql Server it gives an error
    oracle.dbtools.metadata.persistence.PersistenceException: ORA-04098: trigger 'MIGRATIONS.MD_PROJECTS_TRG' is invalid and failed re-validation
    I try it again and it starts but it doesn't stop until clicking cancel or close
    what is the wrong?
    Thanks

    Hi,
    You are hitting a know issue using a repository created in 9.2.
    To show this is the case do the following -
    SQL> alter trigger MD_PROJECTS_TRG compile ;
    Warning: Trigger altered with compilation errors.
    SQL> show errors
    Errors for TRIGGER MD_PROJECTS_TRG:
    LINE/COL ERROR
    3/9 PL/SQL: Statement ignored
    3/20 PLS-00905: object MIGREP.MD_META is invalid
    Compiling md_meta -
    SQL> alter package md_meta compile ;
    Warning: Package altered with compilation errors.
    SQL> show errors
    Errors for PACKAGE MD_META:
    LINE/COL ERROR
    0/0 PLS-00908: The stored format of MD_META is not supported by this
    release
    21/4 PLS-00114: identifier 'PUTBAIFZKA3IHSJ5AC4ZXWYAWG41KN' too long
    21/4 PLS-00707: unsupported construct or internal error [2702]
    SQL>
    ==
    If you get this then the only alternative is to create the SQL*Developer repository in a 10.2 database.
    Regards,
    Mike

  • Exporting data from SQL Server database to Oracle database

    Hello All,
    We need to replicate a table's data of SQL Server database to Oracle database.
    Can this task be accomplished using Import/Export wizard or Linked servers?
    Can help me regarding which Oracle data access components should i download to do this?
    I am using SQL Server 2012.
    And i have Oracle 11g release 2 client installed in my system.
    Thanks in Advance.
    Thanks and Regards, Readers please vote for my posts if the questions i asked are helpful.

    Yes you can definitely transfer data from SQL server to Oracle Have a look at below links
    Export SQL server data to Oracle Using SSIS
    Use OLEDB data provider to transfer data from SQL server to Oracle
    Using Import Export Wizard
    Similar thread
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
    My TechNet Wiki Articles

  • I want to query sql server database from oracle

    i want to query sql server database from oracle
    can anyone help me in this regard

    First of all - you are in the wrong forum.
    Look either for the Database general or search for Transparant / Heterogenous Gateways.
    cu
    Andreas

  • Trying to migrate SQL Server 2000 to Oracle 10g.

    Hi.
    I´m trying to migrate from Sql Server 2000 to Oracle 10g and I got some troubles.
    I have connected both databases with my Oracle Sql Server, after that I went to the Menu--> Migrate--> Fast Migration and then fill all the steps necesary.
    I can see the repository`s table at the oracle schema but after that the Sql Developer hang at the point "capture". I let the tool work for 2 hours and nothing to do. It´s not a hughe db so could be done faster.
    May I miss something?.
    Thanks.

    Hi
    I also have similar issue when trying to migrate from MS SQL 2005 to oracle 10g.
    I use the SQL Developer Version 2.1.0.63.
    First, I tried to use 'Quick Migration' then it created repository then stop there with error message
    "Error ocurred during capture: ORA-01400: cannot insert NULL into ("DDHCOWNER"."MD_PROJECTS"."ID")"
    Then, try manual way to capture SQL server, but some how it doesn't work. It just refresh IDE and stop.
    Before this activity, I tried to migrate MS SQL 2005 using 'Quick Migration' and it works. But this time I have to do it on another DB then this happened.
    So I re-try the previous connection then encountered the same to all.
    Thus, please kindly help to advice how to solve this problem.
    Thank you so much.
    Regards,
    Sai Lin Naung

  • Errors while migrating SQL Server 2000 to Oracle 11g

    Followed instructions from Oracle as far as running OMWEB_OFFLINE_CAPTURE.BAT with parameters:
    # OMWB_OFFLINE_CAPTURE.BAT mapper mapper mwrep_orcl WSSTCWKS401
    (where mapper/mapper is a new user I created on the SQL Server DB, mwrep_orcl is the Oracle repositiry database and WSSTCWKS401 my workstation name.
    The script starts OK then throws out all the following errors:
    SQLState = S0002, NativeError = 208
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Invalid object nam
    e 'mwrep_orcl.dbo.sysusers'.
    SQLState = 37000, NativeError = 8180
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Statement(s) could
    not be prepared.
    SQLState = S0002, NativeError = 208
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Invalid object nam
    e 'mwrep_orcl.dbo.syspermissions'.
    SQLState = 37000, NativeError = 8180
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Statement(s) could
    not be prepared.
    SQLState = S0002, NativeError = 208
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Invalid object nam
    e 'mwrep_orcl.dbo.sysprotects'.
    SQLState = 37000, NativeError = 8180
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Statement(s) could
    not be prepared.
    SQLState = S0002, NativeError = 208
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Invalid object nam
    e 'mwrep_orcl.dbo.sysobjects'.
    SQLState = 37000, NativeError = 8180
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Statement(s) could
    not be prepared.
    SQLState = S0002, NativeError = 208
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Invalid object nam
    e 'mwrep_orcl.dbo.syscolumns'.
    SQLState = 37000, NativeError = 8180
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Statement(s) could
    not be prepared.
    SQLState = S0002, NativeError = 208
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Invalid object nam
    e 'mwrep_orcl.dbo.systypes'.
    SQLState = 37000, NativeError = 8180
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Statement(s) could
    not be prepared.
    SQLState = S0002, NativeError = 208
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Invalid object nam
    e 'mwrep_orcl.dbo.sysindexes'.
    SQLState = 37000, NativeError = 8180
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Statement(s) could
    not be prepared.
    SQLState = S0002, NativeError = 208
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Invalid object nam
    e 'mwrep_orcl.dbo.sysindexkeys'.
    SQLState = 37000, NativeError = 8180
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Statement(s) could
    not be prepared.
    SQLState = S0002, NativeError = 208
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Invalid object nam
    e 'mwrep_orcl.dbo.sysreferences'.
    SQLState = 37000, NativeError = 8180
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Statement(s) could
    not be prepared.
    SQLState = S0002, NativeError = 208
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Invalid object nam
    e 'mwrep_orcl.dbo.sysconstraints'.
    SQLState = 37000, NativeError = 8180
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Statement(s) could
    not be prepared.
    SQLState = S0002, NativeError = 208
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Invalid object nam
    e 'mwrep_orcl.dbo.syscomments'.
    SQLState = 37000, NativeError = 8180
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Statement(s) could
    not be prepared.
    SQLState = S0002, NativeError = 208
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Invalid object nam
    e 'mwrep_orcl.dbo.sysfiles'.
    SQLState = 37000, NativeError = 8180
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Statement(s) could
    not be prepared.
    SQLState = S0002, NativeError = 208
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Invalid object nam
    e 'mwrep_orcl.dbo.sysmembers'.
    SQLState = 37000, NativeError = 8180
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Statement(s) could
    not be prepared.
    SQLState = S0002, NativeError = 208
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Invalid object nam
    e 'mwrep_orcl.dbo.sysforeignkeys'.
    SQLState = 37000, NativeError = 8180
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Statement(s) could
    not be prepared.
    SQLState = S0002, NativeError = 208
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Invalid object nam
    e 'mwrep_orcl.dbo.sysproperties'.
    SQLState = 37000, NativeError = 8180
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Statement(s) could
    not be prepared.
    I am an SQL Server newbie but very experienced Oracle Developer.
    Anyone make any helpful suggestions?
    Thanks,
    Jeremy

    Your information is a little bit missleading:
    "where mapper/mapper is a new user I created on the SQL Server DB, mwrep_orcl is the Oracle repositiry database and WSSTCWKS401 my workstation name"
    Please pay attention all parameters specified calling the batch file are SQL Server related parameters. See the batch file for more info:
    echo ----
    echo ---- OMWB_OFFLINE_CAPTURE login_id password database_name server_name
    echo ---- where,
    echo ---- login_id is a login id which has been granted db_datareader
    echo ---- and view definition on database_name
    echo ---- password is the password for the login id
    echo ---- database_name is the name of the database you wish to capture
    echo ---- server_name is the name of the server on which the database resides
    echo ---- For example,
    echo ---- OMWB_OFFLINE_CAPTURE sa sapwd employeeDB DEPT1_SERVER
    echo ----
    So the database_name is the SQL Server database name you want to capture and server_name is the server which contains your SQL Server database.
    Do your settings follow these rules? If not, please correct and retry.
    If your settings are correct, what permissions did you grant to mapper?

  • How to import sql server database into oracle

    Hi,
    i have a backup of database(complete) from sql server, Is there any way to import that backup database into oracle environment.
    Please let me know the process
    Thanks
    Naren$

    No. You cannot simply import binary data files from a 3rd party database directly into Oracle.
    You can use bcp on SQL-Server to unload the data to CSV and then use Oracle's SQL*Loader to load it.
    You can run a SQL-Server database instance and an Oracle database instance, and use a heterogeneous database link from Oracle (working via ODBC) to connect to SQL-Server - and use SQL statements to pull object definitions and data from SQL-Server into Oracle.

  • Migrating SQL Server 2000 to Oracle 9i

    Hi
    I will explain system first.The current system has Delphi 5 as Front -End and SQL Server 2000 as Back -End
    Now i want to make the Delphi 5 Application compatible with both SQL Server 2000 and Oracle 9i.
    What all things should be taken in to consideration for this process????
    Ren

    Looking forward for HELP
    I will explain system first.The current system has Delphi 5 as Front -End and SQL Server 2000 as Back -End
    Now i want to make the Delphi 5 Application compatible with both SQL Server 2000 and Oracle 9i.
    What all things should be taken in to consideration for this process????
    Ren

  • Issue in Migrating Sql Server Database 2012 to Sql Azure

    Hi All
    I am facing following issue while Deployed MS SQL Server 2012 Database to SQL Azure.
    TITLE: Microsoft SQL Server Management Studio
    One or more unsupported elements were found in the schema used as part of a data package.
    Error SQL71564: The element Extended Property: [dbo].[Accounts_Login].[MS_SSMA_SOURCE] is not supported when used as part of a data package (bacpac).
    Error SQL71564: The element Extended Property: [dbo].[Company_Master].[MS_SSMA_SOURCE] is not supported when used as part of a data package (bacpac).
    Error SQL71564: The element Extended Property: [dbo].[Message_Master].[MS_SSMA_SOURCE] is not supported when used as part of a data package (bacpac).
    Error SQL71564: The element Extended Property: [dbo].[Requests_Master].[MS_SSMA_SOURCE] is not supported when used as part of a data package (bacpac).
    Error SQL71564: The element Extended Property: [dbo].[Twitter_Master].[MS_SSMA_SOURCE] is not supported when used as part of a data package (bacpac).
    Error SQL71564: The element Extended Property: [dbo].[Users_Master].[MS_SSMA_SOURCE] is not supported when used as part of a data package (bacpac).
     (Microsoft.SqlServer.Dac)
     Error SQL71564: The element Extended Property: xxx is not supported when used as part of a data package (bacpac).
    Thanks & Regards Ravi Shankar

    Hello,
    Extended Properties are not supported in SQL Azure.
    To work around this issue, you can use Generate Scripts Wizard to generate script which are compatible with SQL Database and can be compiled on SQL Database without any further modifications. For example, in Choose Script Options, click on the Advanced button
    and, set Script Extended Properties = False.
    Reference:http://social.technet.microsoft.com/wiki/contents/articles/994.develop-and-deploy-with-windows-azure-sql-database.aspx
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • Migrate sql server data to oracle

    Hello
    I want to migrate data in sql developer but not all the tables. Because my sql server schema has a lot of tables and datas. So it takes much times.
    i have already captured model and converted model but just i want to migrate 3 table data.
    Thanks

    you can drop all unwanted tables from the Oracle model before doing the data migration.

  • Convert  Sql server database into oracle

    hi friends
    i have a very smal database of sql server containing 8 tables
    i want to convert my databse into oracle plz tell me in detail coz i dont know any thing about it.
    plz help me
    take care
    bye

    If the amount of data is small, you might look into Microsoft Data Transformation Services (DTS), which comes with SQL Server. This provides an easy to use GUI for mapping data between two sources.
    A few warnings:
    - If you let DTS create your Oracle tables, beware that that table / column names may be created as case-sensitive and data types may not be what you expect
    - If you are transferring a lot of data (e.g. millions of rows), performance will be terrible.

Maybe you are looking for

  • How can I use the Netflix app on my iPad while traveling outside the US?

    Is there any way to use the Netflix app on my iPad while traveling out of the country? I am curently in Russia. I downloaded software to mask my IP address on my laptop. Is this possible for the iPad?

  • Can't open internet links in pdf

    While trying to copy an internet address in a pdf file, Adobe Reader X said something about changing how the Reader handled this kind of thing. Now it says "Acrobat does not allow connection to:" and the address when I try to connect to using a link.

  • OXC4EB841A ERROR CODE ON WINDOWS 7...

    I WAS PRINTING AND GOT THIS ERROR CODE OXC4EB841A AND IT WILL NOT GO AWAY.  HP DOES NOT HAVE A SOLUTION TO THE PROBLEM.  PERHAPS MY PRINTER JUST DIED!!!!  HP DOESN'T KNOW ANYTHING ABOUT THIS ERROR CODE, AND WHY NOT IT IS THEIR DEVICE THAT I PURCHASED

  • Clearing Out Bleeding Scripts when using GWMI

    OK, so I may be in the minority, but I don't like when the scripts I write bleed all over my screen.  And when I use GWMI, I find that they bleed more often than not.  See, I often work with systems that I don't have access to, and when I use GWMI (e

  • Using session state in ORDER BY

    I have a report region with a PL/SQL function body returning a query as declare q long; begin q:='select .....' q:=q||' order by :P1_SORT1,:P1_SORT2'; end;where P1_SORT1 and P1_SORT2 have values from 1..8. In other words, I would like to the ORDER BY