Migrating SQL Server 7.0 Database to Oracle8i Enterprise Edition
Hello,
I am running SQL Server 7.0 and Oracle8i Enterprise Edition on a
Windows 2000 Server OS. I need to migrate the SQL Server 7.0 database
over to Oracle8i side. I have tried the SQL Server 7.0 export utility
and the Oracle8i import utility without much luck. I am now trying to
use the Migration Workbench for version 8.1.7 and am having even less
luck than the SQL Server 7.0 export utility. I have, also, tried
downloading Oracle's latest ODBC driver for v8.1.7 without any luck.
As far as I can tell, the problems are occuring with the BIT to
NUMBER(1) conversions (the data is captured as 0s and -1s instead of
0s and 1s) and the CROSS JOINs in the views.
I have also been to the otn.oracle.com news groups and there doesn't
seem to be much there either.
Has anyone had any success with the Migration Workbench and if so, how
many scripts, "massages", etc. needed to be done?
I have only begun working with Oracle in the last 3 weeks and would
TRUELY appreciate any help anyone can give me.
Thank you in advance,
Ferda Taylor
null
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Ferda Taylor ([email protected]):
Hello,
I am running SQL Server 7.0 and Oracle8i Enterprise Edition on a
Windows 2000 Server OS. I need to migrate the SQL Server 7.0 database
over to Oracle8i side. I have tried the SQL Server 7.0 export utility
and the Oracle8i import utility without much luck. I am now trying to
use the Migration Workbench for version 8.1.7 and am having even less
luck than the SQL Server 7.0 export utility. I have, also, tried
downloading Oracle's latest ODBC driver for v8.1.7 without any luck.
As far as I can tell, the problems are occuring with the BIT to
NUMBER(1) conversions (the data is captured as 0s and -1s instead of
0s and 1s) and the CROSS JOINs in the views.
I have also been to the otn.oracle.com news groups and there doesn't
seem to be much there either.
Has anyone had any success with the Migration Workbench and if so, how
many scripts, "massages", etc. needed to be done?
I have only begun working with Oracle in the last 3 weeks and would
TRUELY appreciate any help anyone can give me.
Thank you in advance,
Ferda Taylor
<HR></BLOCKQUOTE>
Hi Ferda,
Could you send a reproducable testcase to [email protected] along with the error.log file which is located in %ORACLE_HOME%/omwb/log/ directory.
null
Similar Messages
-
Migrating SQL Server 7.0 to Oracle 8i in Different Operating Systems
I am migrating SQL Server 7.0 Databases on NT to Oracle 8i on Sun 2.6. Is there is any other way other then Migration Workbench.
If Mig Workbench is OK. What are the steps to do Migration.
nullHi,
You can perform this action with the Oracle Migration Workbench. Just install the Workbench on the same machine as your SQL Server database.
You can then configure the workbench to point to the oracle database on your Sun machine.
You can use the Oracle database on your Sun machine for both your destination database (the database to which you migrate your SQL Server schema and data) and workbench repository.
In order to do this you will need to configure a tnsnames.ora entry. The tool that will do this configuration for you should be started up at the end of the workbench installation. It is a fairly straightfoward process.
You then need to create a user in your oracle database that will store the workbench repository.
Once you have comleted these steps you will be able to migrate SQL Server on NT to Oracle on Sun.
It is exactly the same process as migrating to Oracle on NT except you are pointing the Workbench to Oracle on a Sun box.
Regards
John -
Please refer to TAR # 2005705.995 for more details.
I am unable to migrate SQL Server 7.0 database into oracle 8i . While in the
capturing stage I get the following errors shown in the attachment . It hangs
while tyring to make indices. I tried aborting the operation but it wouldn't
let me do it . it says cannot abort the application.
After waiting for ages, I therfore use TASK MANAGER in NT I kill me OMWB
application.
I get plenty of EXECEPTION ERRORS failed to map tables and then it gets stuck while trying to create indices.
Please refer to TAR # 2005705.995 for more details.Hi,
You can perform this action with the Oracle Migration Workbench. Just install the Workbench on the same machine as your SQL Server database.
You can then configure the workbench to point to the oracle database on your Sun machine.
You can use the Oracle database on your Sun machine for both your destination database (the database to which you migrate your SQL Server schema and data) and workbench repository.
In order to do this you will need to configure a tnsnames.ora entry. The tool that will do this configuration for you should be started up at the end of the workbench installation. It is a fairly straightfoward process.
You then need to create a user in your oracle database that will store the workbench repository.
Once you have comleted these steps you will be able to migrate SQL Server on NT to Oracle on Sun.
It is exactly the same process as migrating to Oracle on NT except you are pointing the Workbench to Oracle on a Sun box.
Regards
John -
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.
RameshHi,
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 -
Error migrating SQL Server 2000 database to Oracle.
Hi,
I am new in SQL Developer.
I read most of the help manuals available on the net.
I am able to create connections to both SQL Server and Oracle database.
I am also able to create the migration repository on the Oracle database.
SQL server connection - TestSQL
Oracle database connection - TestOracle
Migration Repository - Migration_Repository.
Here is the problem am facing:
When I start Migrate to Oracle wizard, by right clicking the TestSQL database, I followed all the required steps and enter the necessary information. -
It starts creating the project - say, TEST but after that it gave the following error:
Migration actions have failed. Check the migration report for more details. : ORA-01400: cannot insert null into ("MIGRATIONS"."MD_PROJECT_ID").
Please help.Thanks for your reply.
You are correct, there were some permission missing on the migration repository user.
I have given permissions and it worked fine.
but I can say that required permission mentioned in other posts and blogs on the Internet are not sufficient.
One has to provide more admin priviligies to this user. -
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
MurrayMurray,
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 -
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 -
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 -
Migrate SQL Server 7.0 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.
RameshThe Migration Workbench copys the information it requires from the source database and stores it in the Migration Workbench Repository, which is separate from the Source database. So, to answer your question, yes, the users can continue to use the SQL Server database. The data move may cause some system performance degradation. It may also be an idea to replicate the SQL Server database, in case any complication should arise.
Hope this helps
Dan -
Migration SQL Server 7.0 to Oracle 8i
Hi,
I am trying to migrate a SQL Server 7.0 database to Oracle 8i using the latest version of the Migration Workbench tool. The source model is normally generated (I see my tables and other objects) but nothing is generated in the Oracle Model... What would be an explanation for this issue and how could I fix it ?
Thanks in advance.
FabienLooks like the capture has gone OK but have you gone through the mapping phase?
-
Transaction accross multiple SQL Server 7.0 databases
Does any body know which driver to use to perform distributed transaction accross mutiple SQL Server 7.0 databases invloving CMPs .
Any help appreciated.
[att1.html]
Hi,
You can perform this action with the Oracle Migration Workbench. Just install the Workbench on the same machine as your SQL Server database.
You can then configure the workbench to point to the oracle database on your Sun machine.
You can use the Oracle database on your Sun machine for both your destination database (the database to which you migrate your SQL Server schema and data) and workbench repository.
In order to do this you will need to configure a tnsnames.ora entry. The tool that will do this configuration for you should be started up at the end of the workbench installation. It is a fairly straightfoward process.
You then need to create a user in your oracle database that will store the workbench repository.
Once you have comleted these steps you will be able to migrate SQL Server on NT to Oracle on Sun.
It is exactly the same process as migrating to Oracle on NT except you are pointing the Workbench to Oracle on a Sun box.
Regards
John -
Where did the tutorial to migrate SQL Server go?
Hi,
There was a great tutorial on how to do this on:
http://st-curriculum.oracle.com/obe/db/hol08/sqldev_migration/mssqlserver/migrate_microsoft_sqlserver_otn.htm
Where did it go? I cannot get to this link anymore.
Thanks,
ScottWelcome to the forum!
Whenever you post provide your 4 digit Oracle version.
>
There was a great tutorial on how to do this on:
>
On how to do what? Migrate sql server to what? To Oracle? To mysql?
Here is a link with info on using sql develoer to migrate from sql server to Oracle
http://www.oracle.com/technetwork/database/migration/sqlserver-095136.html
Here is a link with a doc on how to migrate sql server to mysql
http://www.oracle.com/us/corporate/press/1715479
You need to explain specifically what you are trying to do and what tools you are trying to do it with. -
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?
ThanksHi,
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 -
Migrating SQL server 2000 to Oracle9i/10g
hi
i want to migrate SQL server 2000 database to Oracle9i database,
and i have downloaded the file OMWB.Zip from OTN.
but i did not find the Sql sever2000 plug-in.
plz send the link where i can get sqlserver plug-in. (SqlServer2k.jar file)
or anyone plz mail me this SqlServer2k.jar file,my mail id is:
[email protected]
its very urgent. plz help me out.
Dwaipayan DasHi Dwaipayan,
SQL Server migrations are not supported by the (old)OMWB anymore.
This functionality has been moved into the SQL Developer Migration Workbench.
SQL Server migrations are a built in feature of SQL Developer, which you can download for free here.
http://www.oracle.com/technology/products/database/sql_developer/index.html
Before downloading you can take a look at this viewlet demonstrating the migration of SQL Server Northwind database.
http://www.oracle.com/technology/tech/migration/workbench/viewlets/sqlserver.html
All the new migration features are based around SQL Developer.
Heres are new page
http://www.oracle.com/technology/tech/migration//workbench/index_sqldev_omwb.html
Regards,
Dermot.
Maybe you are looking for
-
Drag and drop functionality not working. IE shows ActiveX error
Hi all, we recently installed new server, but on the new server the drag and drop functionality in web dynpro application is not working. when we launch the standard test application wdr_test_drag_and_drop, the Internet explorer is showing a popup: A
-
Beside my problem in my earlier post, just noticed that when I click iPhoto preferences, the general window opens but so does the spinning wheel, the only way I can get rid of the wheel is to force quite iPhoto which is not responding. Can this be l
-
BAPI or FM for geting all sales master data, header data , item data etc
Hi experts, In my requirement i need a BAPI (or) Function module for getting all "Sales information" data means header data , item data, scheduled data etc . Thank you, Dinesh Reddy.
-
Can any one please update me information on rev-track? Thanks , kirun
-
Hi everybody, I read a file txt char by char. Here is an example oy my file containt: INSERT INTO DBD VALUES ("aaa","aaaa","aaaa",NULL,NULL,NULL, TRUE,FALSE,FALSE); INSERT INTO SUIVI VALUES ("bbbb","bbb",NULL,NULL); INSERT INTO SUIVI VALUES ("cccc","