473,379 Members | 1,533 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

SQL 2000 to Oracle 9i Migration Problems


Hi all,

I am using the Oracle Workbench for migrating my DB currently on Sql
Server 2000 to Oracle 9i. During the migration the following happens

SELECT @tBaseTable = tBaseTable, @tDBColumnName = tDBColumnName

FROM tblColumnMain WITH (NOLOCK) left join tblCustomField WITH
(NOLOCK) on aColumnID = nColumnID

WHERE aColumnID = @nPropertyID

gets converted to

SELECT tBaseTable, tDBColumnName

INTO

SPROC_PROPDATA.tBaseTable, SPROC_PROPDATA.tDBColumnName, FROM
sa.tblColumnMain, sa.tblCustomField

WHERE (aColumnID = nColumnID) AND (aColumnID =
SPROC_PROPDATA.nPropertyID_);

and gives the warning that complex outer joins maynot be reliably
converted

On the other hand the following code

select @keyid = a.keyID, @pubs=b.pubs from

ssd1 a left outer join ssd2 b on a.l_name = b.l_name

where b.l_name = @name

migrates perfectly to Oracle as

SELECT a.keyID, b.pubs

INTO SPROC_JOINTEST8.keyid, SPROC_JOINTEST8.pubs

FROM ssdash.ssd1 a, ssdash.ssd2 b

WHERE (a.l_name = b.l_name(+)) AND

(b.l_name = SPROC_JOINTEST8.name);

with the same warning ...

Could anyone enlighten me as to what exactly is the difference between
these 2 above cases.

Also the migration bench seems to be removing nolocks and such stuff all
around. Any workaround for this is also needed.

ssDash
--
Posted via http://dbforums.com
Jul 20 '05 #1
1 3544
ss_dash wrote:
Hi all,

I am using the Oracle Workbench for migrating my DB currently on Sql
Server 2000 to Oracle 9i. During the migration the following happens

SELECT @tBaseTable = tBaseTable, @tDBColumnName = tDBColumnName

FROM tblColumnMain WITH (NOLOCK) left join tblCustomField WITH
(NOLOCK) on aColumnID = nColumnID

WHERE aColumnID = @nPropertyID

gets converted to

SELECT tBaseTable, tDBColumnName

INTO

SPROC_PROPDATA.tBaseTable, SPROC_PROPDATA.tDBColumnName, FROM
sa.tblColumnMain, sa.tblCustomField

WHERE (aColumnID = nColumnID) AND (aColumnID =
SPROC_PROPDATA.nPropertyID_);

and gives the warning that complex outer joins maynot be reliably
converted

On the other hand the following code

select @keyid = a.keyID, @pubs=b.pubs from

ssd1 a left outer join ssd2 b on a.l_name = b.l_name

where b.l_name = @name

migrates perfectly to Oracle as

SELECT a.keyID, b.pubs

INTO SPROC_JOINTEST8.keyid, SPROC_JOINTEST8.pubs

FROM ssdash.ssd1 a, ssdash.ssd2 b

WHERE (a.l_name = b.l_name(+)) AND

(b.l_name = SPROC_JOINTEST8.name);

with the same warning ...

Could anyone enlighten me as to what exactly is the difference between
these 2 above cases.

Also the migration bench seems to be removing nolocks and such stuff all
around. Any workaround for this is also needed.

ssDash
--
Posted via http://dbforums.com

Can't help you with why other than to tell you that the migration tool
is intended to get you part-way there. There is no way it can handle
everything. The differences between the products are huge and range from
locking to the definition of a transaction. From trigger types to the
difference between autonumbering and sequences. And, of course, the fact
that temp tables are completely unnecessary in Oracle.

In short ... I wouldn't spend more than a few seconds looking this over
and just comment it out and convert it by hand.

A big help will be Tom Kyte's book "Expert one-on-one Oracle" by WROX
though WROX bought the farm so copies are hard to find. The first three
chapters deal extensively with the architecture differences.

--
Daniel Morgan
http://www.outreach.washington.edu/e...ad/oad_crs.asp
http://www.outreach.washington.edu/e...oa/aoa_crs.asp
da******@x.washington.edu
(replace 'x' with a 'u' to reply)

Jul 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Richard Crawford | last post by:
I've been breaking my head over this one for a couple of weeks now. The source database is an MS-SQL Server 7 database living on a Windows NT server; the destination is an Oracle 9i database...
4
by: susmita_ganguly | last post by:
Hi I am trying to upgrade from oracle 8i to oracle 9i on the same server ..I don't know much abt migration . Can anyone help me out. Thanks. Susmita
4
by: serge | last post by:
I am doing a test on migrating an Oracle 8i database to SQL 2000. I've never done this before and I would like to find out if there are any complications or side effects if I try doing the...
4
by: Abram Friesen | last post by:
Hi, I'm a developer for a software application vendor, and our application makes use of a customer-maintained Oracle 8i/9i database. We've had a customer request to support DB2 database, and I'm...
8
by: Tavish Muldoon | last post by:
At a high level - what would be involved in switching from Oracle to DB2? Pretty vague, I know - but anyone have experience with this kind of migration? Pointers? Things to look for? Tmuld
2
by: Phil S | last post by:
I used the Migration Workbench for Oracle 9.2 Client to migrate the tables in an Access 2K back-end database to Oracle. (The Migration Workbench is intended to automate the process of migrating...
56
by: Ashish Patankar | last post by:
I want to migrate my Oracle 10g database to Db2. I want some documentation for the comparision between these to databases. I also want to know which features of Oracle 10g are supported by Db2 and...
5
by: jonceramic | last post by:
Hi All, I started developing in Access, and people took notice and so we're starting to migrate into our corporate's bigger Oracle system. I'll still be using my developed Access front ends,...
4
by: --CELKO-- | last post by:
I need to convert a bunch of DB2 triggers to Oracle. Is there any kind of tools for this?
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.