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 > Converting indexed Oracle db to MySQL

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-17-04, 18:57
MarkSmall MarkSmall is offline
Registered User
 
Join Date: Aug 2004
Posts: 2
Converting indexed Oracle db to MySQL

Hi there,

This is my first posting so if I miss any relevant info please just ask for more detail.

I am converting an Oracle 8i db to MySQL. The problem I am having is that the oracle db used indexed tables e.g.

create table genre (
id numeric primary key,
name varchar(32)
)
organization index;


From what I have read of Oracle this is an Index Organized Table, which I have never heard of before. I read a little on the Oracle web site but not being a db admin there was much I didn't understand.

I want to transpose this to a MySQL db but am unsure how to index the tables in the way specified in the Oracle db table.

MARK

CIAO
Reply With Quote
  #2 (permalink)  
Old 08-17-04, 19:38
yellowmarker yellowmarker is offline
Registered User
 
Join Date: Jul 2004
Location: Dundee, Scotland
Posts: 107
just export the table data (id and name fields) from Oracle, create the table in MySQL with a primary key, then import the data.

depending on the use of the table you might want to enable auto_increment for the id field.
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