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.
Similar Messages
-
Problem converting captured SQL Server 2000 database to Oracle
Java(TM) Platform 1.6.0_17
Oracle IDE 2.1.1.64.45
Versioning Support 2.1.1.64.45
After creating MWREP user, granting it privileges and creating the migration repository, I have captured a small SQL Server 2000 database (1 table), but after performing "Convert to Oracle", I get the message that it has transformed correctly, but no converted model is shown. I was originally using the JRE supplied with SQL Developer 2.1.1, but replaced that with 1.6 U17 after researching the problem here.
The only message in the Migration Log is as follows:
Catalog RAC, Schema dbo coalesced to single schema dbo_RAC
The following message appears in the console:
SELECT DISTINCT(REF_ID_FK), REF_TYPE FROM MD_ADDITIONAL_PROPERTIES WHERE PROP_KEY IN (?) AND CONNECTION_ID_FK = ?
I have tried this with a more complex database, with no luck.
Any thoughts?I did an offline capture.
I used Tools->Migration->Third Party Database Offline Capture->Create Database Capture Scripts to generate scripts OMWB_OFFLINE_CAPTURE.BAT, SS2K_BCP_SCRIPT.BAT and sqlserver2000.ocp. Then the SQL Server DBA ran OMWB_OFFLINE_CAPTURE.BAT and sent me the output.
I used Tools->Migration->Third Party Database Offline Capture->Load Database Capture Scripts Output to capture the model into the repository successfully. -
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. -
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 from MS SQL Server 2005 database to Oracle 10g
Hello,
I wanted the full procedure or steps to Migrate the MS SQL Server 2005 database to Oracle 10g. Is there a known procedure to do this or is there a tool which is used?
I have not done migration of database from MS SQL Server to Oracle. Any help is appreciated. Thanks a lot for the time.
Regards,
RPSWrong forum, go to the database forum!
cu
Andreas -
Replication SQL Server 7 Database to Oracle 9i
Hi -
I'm new to Database Replication, what are the steps for database replication from a MS SQL Server 7 database to Oracle 9i? Eventually this SQL Server Database will be going to SQL Server 2000 are the steps different, if so what are they?
Thanks
MuchI do not what you mean with Replicate between SQL Server and Oracle. Perhaps you mean migrate from SQL Server to Oracle or to stablish a transparent gateway.
I am going to give you this reference:
Migration Workbench Reference Guide for Microsoft SQL Server and Sybase Adaptive Server Migrations Contents / Search / Index / PDF
Heterogeneous Connectivity Administrator's Guide Contents / Search / Index / PDF
http://otn.oracle.com/pls/db92/db92.docindex?remark=homepage
Joel P�rez -
Manipulate data of a SQL SERVER 2000 database
Problem:
I need to manipulate data of a SQL SERVER 2000 database that itâs installed in a Windows
from an oracle 8.1.7 database that is installed in a red hat linux server.
This access has to be made in a procedure created in this Oracle instance.
The Solutionâs Environment:
- oracle 8.1.7 database - red hat linux server - ORCL INSTANCE
- SQL SERVER 2000 version 5.0 database - Windows server - SQLSERV INSTANCE
- Oracle 8.1.7 database - windows 2000 professional server - HSDB INSTANCE
We did the following steps:
1) We installed an oracle database 8.1.7 in the windows 2000 professional.
The name of this instance is HSDB.
2) We configured the HSODBC resource in this HSDB instance so as to access the SQLSERVER database.
3) It was created a database link in the ORCL instance (LINUX) so as to access the oracle HSDB instance
4) It was created a procedure in the ORCL instance that insert data into the SQLSERVER database using the database link.
This procedure pass through the following instances:
ORCL Instance (database link) => HSDB Instance (HS Resource) => SQLSERV Instance
5) When I execute this simple procedure of the ORCL Instance, the process takes a long time. Although if I run this insert on a SQL Plus, the transaction ends fast. Why itâs happening?
PROCEDURE PRC_TESTE(P_CD_CMC7 IN VARCHAR2) IS
BEGIN
BEGIN
INSERT INTO VSolicitacaoRetirada@MSSQLDB
("CMC7")
VALUES
(P_CD_CMC7);
EXCEPTION
WHEN OTHERS THEN
DBMS_OUTPUT.PUT_LINE('ERROR '||SQLERRM);
END;
COMMIT;
END;
TranksI modified the PRC_TESTE procedure and worked fine when I made the following change.
In spite of using the P_CD_CMC7 parameter on the INSERT command, I included a fixed value. Althoug I can´t use this fixed value. What it can be?
Example:
CREATE OR REPLACE PROCEDURE PRC_TESTE(P_CD_CMC7 IN VARCHAR2)
IS
BEGIN
BEGIN
INSERT INTO VSolicitacaoRetirada@MSSQLDB
("CMC7")
VALUES
('123456');
EXCEPTION
WHEN OTHERS THEN
DBMS_OUTPUT.PUT_LINE('ERRO NO INSERT '||SQLERRM);
END;
COMMIT;
END;
------------------------------------------------------------ -
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 -
SQL Server 2000 database GETDATE() default for field
I have a SQL Server 2000 database where the createDate field
has a default value of GETDATE() and the data type is datetime. It
is inserting the date just fine, but I do not want to capture the
time along with the date. I only want the date to be entered. How
can I accomplish this? Thanks!IF you only wanted to store the date, then yes you would use
that as the column default value.
createDate datetime default convert(datetime,
convert(varchar, getDate(), 102), 102)
However, as paross1 cautioned be sure you understand you will
only be capturing the date from now on. If you change your mind
later, and decide you need both the created date and time, you will
be seriously out of luck. A safer choice might be to keep the date
and time, and use convert in your queries instead. -
Tell me how to format a date retrieved from a MS SQL Server 2000 database?
Tell me how to format a date retrieved from an MS SQL Server 2000 database for various uses in my JSP page?
Or if you want to use JSTL instead of a scriptlet see:
http://forum.java.sun.com/thread.jspa?threadID=676754&tstart=0 -
How to migrate an ACCESS 2000 Database to Oracle ?
Hi,
I need to migrate an ACCESS 2000 Database to Oracle. Is there any tool to help me in this work ?
Regards.
Pascal<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Pascal:
Hi,
I need to migrate an ACCESS 2000 Database to Oracle. Is there any tool to help me in this work ?
Regards.
Pascal<HR></BLOCKQUOTE>
The Oracle Migration Workbench version 1.4.1.0.0(available from OTN at http://otn.oracle.com/tech/migration/workbench/content.html) will migrate an ACCESS 2000 database.
null -
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,
JeremyYour 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? -
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 -
Which is the best way to migrate the SQL SERVER 2000 Database to SQL SERVER 2003 Database?
Hi,
I need to migrate the Production database sql server 2000 to Sql server 2003, Please give me the best idea to migrate the database without any loss data, credentials and Objects.
Nandha KumarSQL server does not have any version named SQL server 2003 please check the version correctly it should be either SQL 2005,2008,2008 R2,2012
You can use the backup/restore to upgrade the SQL 2000 database to till SQL 2005,2008,2008R2
For SQL Server 2000 to 2012
First upgrade from SQL 2000 database to either SQL 2005, 2008 or 2008R2 and than upgrade it to SQL 2012.
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/eaa1eb44-729f-466b-8233-cb768fbb4208/upgrading-to-sql-server-2008-from-sql-server-2000?forum=sqlsetupandupgrade
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/4fac7511-2c75-46a0-802b-807dd26b12bf/sql-2012-will-not-convert-a-sql-2000-database?forum=sqlservermigration
And after migration to SQL 2005 or 2008, if you want to script the database than can generate scripts pick DB and check off "script all objects in the selected database".
http://blog.sqlauthority.com/2011/05/07/sql-server-2008-2008-r2-create-script-to-copy-database-schema-and-all-the-objects-data-schema-stored-procedure-functions-triggers-tables-views-constraints-and-all-other-database-objects/
You can upgrade from SQL Server 2005, SQL Server 2008, and SQL Server 2008 R2 to SQL Server 2012.
http://msdn.microsoft.com/en-us/library/ms143393(v=sql.110).aspx
Please click the Mark as answer button and vote as helpful if this reply solves your problem -
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????
RenLooking 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
Maybe you are looking for
-
How do I find out the ID number for a Podcast?
I want to link to a few different podcasts in itunes from my website . I have seen links that include a podcast ID number, such as ...viewPodcast?id=xxx, but I can not see where to find the ID number of the podcasts I want to link to. Has any done th
-
Sort images within stack by rating?
Hi Gang, I'm editing a massive job and there's one part of the process that is taking forever. After I've rated every image within a stack, I seem to have to resort them manually to be shown from highest rating to lowest rating, either by dragging or
-
Payment method not getting copied automatically during posting invoice
Dear Gurus, The payment method maintained in the vendor master " T" / "C" is not getting copied while posting the invoice document in MIRO or FB60 . The terms of payment is being defaulted from the master data, but not the payment method. Please help
-
How does one replace a lost Time Capsule power cord? thanks
how does one replace a lost Time Capsule power cord? thanks
-
Putting the values of an array into a combobox
Hey I'm looking for some advice on an error I'm getting First heres the program: import java.awt.*; import javax.swing.*; import java.util.*; import java.awt.event.*; public class Quizgame implements EventListener { JPanel mainPanel; JFrame