If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Migration from Oracle to MySQL

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-02-04, 14:55
jin007 jin007 is offline
Registered User
 
Join Date: Jan 2004
Location: Chicago
Posts: 54
Migration from Oracle to MySQL

I need to do a migration from Oracle to MySQL. The problem is that I have tables in several oracle schemas and my applications are coded like this:

SELECT * FROM SCHEMA1.TABLEA join SCHEMA2.TABLEB

How should I handle the migration? Should I create a mysql database for each of my oracle schema? How does this effect the java code?

Thanks.
Reply With Quote
  #2 (permalink)  
Old 04-02-04, 16:30
localt localt is offline
Registered User
 
Join Date: Mar 2004
Posts: 16
Re: Migration from Oracle to MySQL

This is one posibility... If you want you can just find and replace the schema... But this is a small problem... If you have dates on you select you'll have to convert them. You might have some problem converting numbers as well (unless all your numbers transfered into a single type in mysql).
Good luck
Reply With Quote
  #3 (permalink)  
Old 04-03-04, 02:16
ika ika is offline
Registered User
 
Join Date: Oct 2003
Location: Slovakia
Posts: 482
Re: Migration from Oracle to MySQL

Quote:
Originally posted by jin007
I need to do a migration from Oracle to MySQL. The problem is that I have tables in several oracle schemas and my applications are coded like this:

SELECT * FROM SCHEMA1.TABLEA join SCHEMA2.TABLEB

How should I handle the migration? Should I create a mysql database for each of my oracle schema? How does this effect the java code?

Thanks.
Should I create a mysql database for each of my oracle schema? - This is first option.

The second option is change your data model but i think you want not this.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On