Error when using Oracle Migration WorkBench (Sql Server 2k to Oracle 8i)
I'm trying to migrate a Sql Server 2k database to an Oracle 8i schema using OMWB. After using BCP to collect metadata information on the source database, I tried to capture the source data model and got a "Capture aborted" message on the progress screen (even though then it appears a dialog window reporting "0 errors and 0 warnings", funny!). Down there is the error log OMWB generated. After reading some posts, I changed some columns of the OMWB dictionary that holds the source database name, but still got the same error. If someone can enlighten me on this toppic, I'd greatly appreciated it.
Here's the error log of OMWB:
** Oracle Migration Workbench
** Production
** ( Build 20050629 )
** OMWB_HOME: D:\Datos\Download\Oracle\Oracle Migration Workbench\omwb
** user language: es
** user region: null
** user timezone:
** file encoding: Cp1252
** java version: 1.4.2_04
** java vendor: Sun Microsystems Inc.
** o.s. arch: x86
** o.s. name: Windows 2000
** o.s. version: 5.0
** Classpath:
..\lib\boot.jar
** Started : Fri Feb 23 17:18:48 GMT-03:00 2007
** Workbench Repository : Oracle8i Enterprise Edition Release 8.1.6.0.0 - Production
With the Partitioning option
JServer Release 8.1.6.0.0 - Production
Repository Connection URL: jdbc:oracle:thin:@ServerCms:1521:sigcewbc
** The following plugins are installed:
** Microsoft Access 2.0/95/97/2000/2002/2003 Plugin, Production Release 10.1.0.4.0
** Microsoft SQLServer 2000 Plugin, Production Release 10.1.0.4.0
** Microsoft SQLServer 6.5 Plugin, Production Release 10.1.0.4.0
** Microsoft SQLServer 7.0 Plugin, Production Release 10.1.0.4.0
** Active Plugin : SQLServer2K
EXCEPTION :SQLServer2KDisconnSourceModelLoad.loadSourceModel(): oracle.mtg.migration.MigrationStopException: java.lang.IndexOutOfBoundsException: Index: 15, Size: 15
** Shutdown : Fri Feb 23 18:00:50 GMT-03:00 2007
Duplicate thread
Error when using Oracle Migration WorkBench (Sql Server 2k to Oracle 8i)
Similar Messages
-
Error happened during the migration from sql server 2000 to oracle 8.1.7
/*[SPCONV-ERR(18)]:CREATE TABLE TT_CHANP1 statement passed to ddl file*/
DELETE FROM TT_CHANP1;
error as above.
note:
chanp1 is a temporary table under sql 2000
syntax:
create table #chanp1 (chanpid varchar(50))
we try the codes:
CREATE TEMP TABLE chanp1
Error: PLS-00103: "CREATE"
begin declare end exception
exit for goto if loop mod null pragma raise return select update while
<an identifier><a double-quoted delimited-identifier>
<a bind variable><<close current delete fetch lock insert open
roll back save point set sql execute commit for all
<a single-quoted SQL string>
Line: 63
we try " CREATE GLOBAL TEMPORARY TABLE chanp1" again.
but error .it seems like you are trying to perform a DDL from within the PL/SQL code, which is not allowed directly.
You could use EXECUTE IMMEDIATE within your pl/sql code to perform a DDL statement. -
Migration from SQL Server 7 to oracle 8.1.7 on windows 2000 professional
Hello All,
I am currently working on Database migration from sql server 7 to oracle 8.1.7.
My setup is as follows:
1. Both the databases (sql server and oracle are on the same machine )
2. My sql server database contains 200 tables and 190 stored procedures, which need to be migrated to oracle.
When i am trying to capture the Source database details, its capturing evry thing but when its mapping at the end ...it says "MAPPING ROLE PUBLIC" and its not proceeding furthur..What do u want me to do ? i waited for approx 1 hr , still its not proceeding....How to resolve this bug ?
Also please suggest me the best methodology for Migrating the stored procedures. allmost all my stored procedures have TEMP Tables implemented in it. Please help me in this...
Also please let me know the Timeframe estimate for this total thing to be done..
Waiting for your reply,
Thanks and Regards
SAI SREENIVAS JEEDIGUNTAYou can user Oracle Migration Workbench to migrate from SQL Server to Oracle.
Here is the link which gives info on software usage and download :
http://otn.oracle.com/tech/migration/workbench/content.html
Chandar -
Migration from SQL SERVER 2008 to Oracle 10g issues.
Hi ,
I'm trying to migrate from SQL Server 2008 to Oracle 10g and I end up with some issues that I wanted to ask some info about it.
First, I was following a tutorial
http://st-curriculum.oracle.com/obe/db/hol08/sqldev_migration/mssqlserver/migrate_microsoft_sqlserver_otn.htm
and and in the last version of Oracle SQL developer I downloaded, I didn't find the Load Database Capture Script Output option.
My first question is how can I either add this option or is there a new way to load the capture script ?
Then I use the migration wizard and after following everything, I had the migration complete message from the application.
When I tried to open my connectionss, it tells me version 11.2 is required. Does that mean that Oracle SQL developper 3 only
do the migration for oracle 11g? And if I tried the previous versions, it doesn't support SQL server 2008.
What do I do in this case ?
Thanks !Thank you for your reply.
After using the wizard and made the offline migration script, in the Migration projects window I made a move data to the oracle connection I previously made and after when I tried to reopen the connection, I couldn't.
Well I didn't retry it yet to see if I'll have the same behavior but basically this is what I think I did. When I tried to open the connection I made, it says, Oracle 11.2 is required.
Now, I just generate target from the convert model and it says migration complete but how do I test it and I do I go to oracle and see change ?
Do I had to create a special user in SQL Server to log to it first ? How do I logon to it ?
Edited by: 873671 on Jul 20, 2011 7:03 AM
Edited by: 873671 on Jul 20, 2011 7:19 AM -
Database Migration MS Sql Server 2008 to Oracle
I have downloaded the latest updates for SQL Developer and am attempting to migrate my SQL Server 2008 DB to Oracle 11g. I get the following error when attempting to test my Sql Server connection:
Status : Failure - Test failed: I/O Error: SSO Failed: Native SSPI library not loaded. Check the java.library.path system property.
After attempting and following several posts, I have been unsuccessful in getting past this error - I have downloaded and placed in the specified directories the various .dll's suggested....
Any help is of course appreciated.Boy do I look foolish. I told this guy that the owners of the application answer questions here... suerly he would get a reply.
Such is the problem with "free" software. No one to blame when it doesn't work. -
Data length problem migrating from sql server 7 to oracle 8i
I just migrated SQL Server 7 database to Oracle 8i db and everything seemed to have ran ok except that in my newly created oracle database, the field size is doubled. For instance a field with nvarchar(4) in sql server would convert to varchar2(8). Has anyone ran into this problem and also does anyone know how to fix it? Thank you so much.
Hi Roberto,
You cannot use Workbench 1.2.2 to migrate from SQL Server 7 to
Oracle 8.
However, the good news is that we have a new verion of the
workbench that will have a plugin that can migrate from SQL
Server 7.0 to Oracle8.
A beta version will be downloadable from this web-site in approx
one week. Eventhough this version is a beta version, it has
undergone some rigourous testing and is very close to production.
Regards
John
Roberto Werneck (guest) wrote:
: I would like to know if it is possible to use the workbench
: 1.2.2 to migrate from SQL Server 7 to Oracle 8. If possible
what
: kinds of problems would i probably have. If not, how can i get
: the Beta version ?
: Thanks,
Oracle Technology Network
http://technet.oracle.com
null -
Migrating From Sql Server 2005 to Oracle (Uniqueidentifier Issue)
If i want to migrate from SQL SERVER 2005 to Oracle, How Oracle will deal with my primary key columns in almost all tables having datatype of UNIQUEIDENTIFIER ???
is there any concept of uniqueidentifier in Oracle same as in SQL SERVER ????
RegardsWhen you migrate your SP's from SQL Server to Oracle the parser basically does 'as good a job as it can' to migrate them.
Luckily, using SQL Developer you are able to look at the source SP and converted SP in windows next to each other and see what oracle has done to them.
You can also paste your SQL Server code into a window and ask SQL Developer to translate it to oracle for you. Use the 'Translation Scratch Editor' on the migration menu if this is something that interests you. I was told that the parser used by the Translation Scratch Editor is different to the parser used when migrating the whole database. -
Migrating from Sql Server 7 to Oracle 8
I would like to know if it is possible to use the workbench
1.2.2 to migrate from SQL Server 7 to Oracle 8. If possible what
kinds of problems would i probably have. If not, how can i get
the Beta version ?
Thanks,
nullHi Roberto,
You cannot use Workbench 1.2.2 to migrate from SQL Server 7 to
Oracle 8.
However, the good news is that we have a new verion of the
workbench that will have a plugin that can migrate from SQL
Server 7.0 to Oracle8.
A beta version will be downloadable from this web-site in approx
one week. Eventhough this version is a beta version, it has
undergone some rigourous testing and is very close to production.
Regards
John
Roberto Werneck (guest) wrote:
: I would like to know if it is possible to use the workbench
: 1.2.2 to migrate from SQL Server 7 to Oracle 8. If possible
what
: kinds of problems would i probably have. If not, how can i get
: the Beta version ?
: Thanks,
Oracle Technology Network
http://technet.oracle.com
null -
Migrate MS SQL Server procedure to Oracle
Can any one suggest me any user friendly tool to Migrate MS SQL Server procedure to Oracle. I think using OMWB we can migrate schemas, as i could not find any interface to migrate a single procedure
I tried using swisssql, but the trial version only migrates 10 tables and 10 indexes and no other objects. Is there any other tool which shall migrate only procedures? If so plz suggest me.....
-
Migration From SQL Server 2005 to Oracle DB through Oracle SQ Dev Problem
Hi all,
we are trying to do a full Migration from MS SQL Server 2005 to Oracle DB 9.2 i
we are using Oracle SQL Developer V 1.5.3,
the capturing of the DB and the conversion to the oracle model completed succefully
however when we try to generate the scripts from the converted model
the script generation hangs on a sequence and no further progress is made (the script generation pop up keeps still on a certain sequence displaying its name, and thats it )
no error messages are displayed,
how can we know the reason for this? or atleast find a log for whats happening...
any suggestions?
Thank youHi,
migrating a sequence shouldn't make a problem. I did a quick test. I created this table in SQL Server:
create table test_seq (col1 int identity(1,1),col2 char(1))
Then I captured the table, converted the table and generated the script. There was no problem.
CREATE SEQUENCE succeeded.
CREATE TABLE succeeded.
Connected
TRIGGER test_seq_col1_TRG Compiled.
As you see, applying the script was also successful.
I am using Oracle RDBMS 11g, I don't know whether this makes a difference. Do you have any 11g instance available to test it?
Can you show me one of the sequences that are causing the hang? Is the CREATE SEQUENCE statement already in the generated script, or not? Your table is for sure more complex than my simple example.
Regards,
Wolfgang
Edited by: wkobargs on Jan 13, 2009 3:01 AM -
Migration of SQL Server Objects to Oracle 8i
Dear All,
I am using the Oracle Migration WorkBench,along with the Sql 7.0
Plug in ,for migrating data from SQL7.0 to Oracle 8i.
The OMW connects to both the source and Target Databases. While Migration I recieve the following errors.
1.EXCEPTION : SQLServer7SourceModelMap.mapTables(): AS_Edit_Lock, oracle.mtg.migration.MigrationSQLException: ORA-00903: invalid table name :ORA-00903: invalid table name
2.Table. Owner name is NULL. Check that SQL Server 7.0 MASTER database is correctly recovered.
After the migration, if I connect to the Oracle Database and check for the objects, it is not found.
Can You Please provide me an solution at the earliest.
We are in a critical position in achieving this. So Please lend your hands in providing solutions.
Thanks & Regards
RajOracle Migration Workbench:
http://www.oracle.com/technology/tech/migration/workbench/index.html
Cheers, OTN -
Error Message Using DB.Execute on SQL Server - Must use dbSeeChanges
Uh, found a post indicating that dbFailOnError and dbSeeChanges are enumerated and that to designate them both, just add them together, but its not working and I'm still getting the ever popular 'You must use the dbSeeChanges option with OpenRecordset when
accessing a SQL Server table that has an IDENTITY column.'.
Public Function deleteTrailerActivityHeaderAndChildren(lngTrailerActivityHeaderId As Long)
On Error GoTo Err_deleteTrailerActivityHeaderAndChildren
Dim wrksp As DAO.Workspace
Dim db As DAO.Database
Dim strDeleteChild As String
Dim strDeleteParent As String
Dim strComment As String
Dim errLoop As Error
strDeleteChild = "DELETE * FROM tblTrailerUtilizationDetails WHERE lngTrailerActivityHeaderId = " & lngTrailerActivityHeaderId
strDeleteParent = "DELETE * FROM tblTrailerActivityHeaders WHERE lngTrailerActivityHeader = " & lngTrailerActivityHeaderId
Set wrksp = DBEngine.Workspaces(0)
Set db = CurrentDb
wrksp.BeginTrans
On Error GoTo Err_dbExecute
strComment = "Delete child records"
db.Execute strDeleteChild, dbFailOnError + dbSeeChanges
If DBEngine.Errors.Count = 0 Then
strComment = "Delete parent"
db.Execute strDeleteParent, dbFailOnError + dbSeeChanges
If DBEngine.Errors.Count = 0 Then
strComment = "Commit changes"
wrksp.CommitTrans
Else
strComment = "Rollback changes to tblTrailerActivityHeaders"
wrksp.Rollback
MsgBox "Record cannot be deleted. Unable to delete the Trailer Utilization Detail records.", vbCritical
End If
Else
strComment = "Rollback changes to tblTrailerUtilizationDetails"
wrksp.Rollback
MsgBox "Record cannot be deleted. Unable to delete the Trailer Utilization Detail records.", vbCritical
End If
Debug.Print DBEngine.Errors(0).Description
On Error GoTo Err_deleteTrailerActivityHeaderAndChildren
Set db = Nothing
Set wrksp = Nothing
Exit_deleteTrailerActivityHeaderAndChildren:
Exit Function
Err_deleteTrailerActivityHeaderAndChildren:
MsgBox getDefaultErrorMessage("Module - Manage TrailerUtilization Details", "deleteTrailerActivityHeaderAndChildren", Err.Number, Err.Description), vbCritical
Resume Exit_deleteTrailerActivityHeaderAndChildren
Err_dbExecute:
If DBEngine.Errors.Count > 0 Then
For Each errLoop In DBEngine.Errors
Debug.Print getDefaultErrorMessage("Module - ManageTrailerUtilizationDetails", "deleteTrailerActivityHeaderAndChildren.Err_dbExecute", errLoop.Number, , "(" & strComment & ") " &
errLoop.Description)
Next errLoop
End If
Resume Next
End Function
David HHi aychekay
Try following:
- Add a TimeStamp Datatype Column to the table on the SQL Server
- Rebind the tables into your database
- Try your code again
You never should run an Access Application against an SQL Server in readwrite mode without having TimeStamp datatype columns in your tables. Already for performance reasons this is a must and also, if you have datetime datatype fields on
the SQL Server that are not exclusively maintained by Access, as the SQL Server may add miliseconds when writing the data. Same for Single precision datatypes, that may be rounded until you get the result back from the server. If you have a Timestamp datatype
column in your table then Access is sure the record wasn't changed in the meantime and will not recheck the received record again against the database for changes in one of it's fields.
Henry
<aychekay> wrote in message
news:[email protected]...
This problem didn't go away yet. I'm having it too in Access 2007 (SP2 not installed yet) with a SQL Server 2008 Express backend. I'm sure my code is not reference any form controls or other object references. Access just complains if you try to run an Execute
with "DELETE" on a table that has an identity column. I've resorted to deleting using a DAO recordset and loop instead for now.
I actually started out using MySQL with MySQL's ODBC drivers and my statement worked fine. Only when I migrated to SQL Server did I start to have this problem.
Just sayin... -
Migrating from SQL Server 2000 to Oracle 10g
Hello,
I am a newbie to Oracle 10g and haven't really worked with Oracle since 8i. I have been tasked to migrate all of our databases and tables to Oracle 10g. I need a little help getting started or pointed in the right direction on how to copy all that data from SQL Server to Oracle 10g. I know that Oracle has an Import/Export Utility, but don't know if it can do what I need. Can some one help point me in the direction I need?
Thanks, MarionAyub
You need to download both the Oracle Migration Workbench core tool and the SQL Server 2000 plugin (SQLserver2k.jar). You copy the plugin into the plugin directory, after you unzip the Oracle Migration workbench main.
The tool comes with release notes and a user guide, that explains the necessary setup and migration process.
Donal -
Migration from SQL Server 7 to Oracle 8i
I am new to Oracle, is there a way to migrate all tables and store procedure form SQL Server 7 to the oracle database
thanks;
nullI understand that it would not be in the best interests of Oracle, monetarily that is (at least in the visible/tangible sense), to develop such a migration tool, but since the competition hasn't, why shouldn't you? I'm sure Prabha's not the first to inquire of such a thing, and I'm sure I'd have asked a similar question if I wasn't responding to you in this way. We all know Oracle is the better db - That's why we're here talking about it - but not everyone we do business with understands that, so establishing a two way street is the best way, short of requiring it of our clients, to turn them on to Oracle. I don't really think developing such a thing would hurt your business (unless MS can keep you from doing it). If your product is that much better (which we agree is true), you shouldn't be afraid of the competition. As for being afraid of proprietary constraints, I can't blame you, because I don't know how much it constrains you.
-Val
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by The Oracle Migration Workbench Team:
Hi Prabha,
My first reaction to your question would be "why would anyone want to migrate FROM Oracle and TO SQLServer ?". Oracle is easily the better database !
...but no, I don't really think it would be in Oracle's best interests to produce a migration tool that moved users to a propritory Microsoft product/platform..<HR></BLOCKQUOTE>
null -
Migration from SQL Server 2005 to Oracle 10g
Dear buddies,
I need to migrate my tables with data from SQL Server 2005 to Oracle 10g. How can I do it in the best possible way?
Please guide me.
NithNith,
I doubt if there is one best practice that can cover all cases of migrating data from sql server to Oracle. l generally find various factors case-by-case that make me chose one approach over the other. Without considering the business case and environment specific factors, some of the things I would like to know would be: The data types of the tables columns, table sizes, number of tables and if this is a one time process or a recurring process.
One of the easiest (some times rather pesky) process would be:
-Dump source data (Sql Server data) into flat files, csv or any preferred format
-Setup a set of staging set of tables in the destination DB (Oracle in your case). You can setup the stage tables to enforce data-types, value sets and even some level of integrity constraints or any data logic or what ever you would like to filter out. Load the flat file data into a set of Oracle stage tables (Sql*Loader would be a good candidate)
-You can always move data from these stage tables to you application tables
You can script this whole process to run as batch or on demand or how ever you would like.
I am sure you can google and find a bunch of proprietary as well as open source tools to do the same with little to a lot of work.
good luck!
Maybe you are looking for
-
I have heard that you need firewire to preview on a another monitor (after effects). where do i plug the wires? usb part in the computer and the firewire part in the monitor? <moved by mod from downloading,installing,setting up - kglad>
-
For forms and reports instalation 11g, download site shows Required Additional Software: WebLogic Server Repository Creation Utility Identity Management SSO Metadata Repository Creation Assistant Patch Scripts Identity Management 10gR3 Oracle Databas
-
Running calculations BSO versus ASO
which architecture is better to use if you have to run large calculations? (Essbase Version 11)
-
Hi , I want to do something like this While Condition LOOP BEGIN Insert into table1 values(......); Insert into table2 values(......); Insert into table3 values(......); Insert into table4 values(......); Insert into table5 values(......); Insert int
-
Variance calculation for production order
Hello, I am clarifying what's the selection criteria for settled production orders so that we can carry out the following close and deletion flag activities. I am currently in release ECC605. Need to carify the below questions. 1. For production orde