473,554 Members | 3,119 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.tblColumnMai n, sa.tblCustomFie ld

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 3558
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.tblColumnMa in, sa.tblCustomFie ld

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.wash ington.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
1990
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 living on Solaris 9. I've been trying to use the Oracle Migration Workbench to migrate the database, but after two weeks, I have had no success. At...
4
19973
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
3752
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 transfer of data using DTS? If not DTS then what would you suggest I transfer data with? Thank you
4
3970
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 looking into the feasibility of migration. Our application runs on NT Server and, the DB2 database would be in some cases on a separate AIX...
8
3772
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
4740
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 tables from Access to Oracle.) Following the migration, when I try to link the Oracle table to the Access front-end using Oracle ODBC Driver, I have...
56
4895
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 which are not supported.
5
7217
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, but will be migrating my back ends to Oracle ODBC. 1. Does anyone have recommendations for books or web resources for general...
4
5710
by: --CELKO-- | last post by:
I need to convert a bunch of DB2 triggers to Oracle. Is there any kind of tools for this?
0
7787
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7881
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6131
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5147
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3550
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3539
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2012
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1121
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
831
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.