forums › forums › SQLyog › Sync tools, Migration, Scheduled Backup and Notifications › Importing data from Oracle
- This topic is empty.
-
AuthorPosts
-
-
May 11, 2005 at 11:09 pm #8969James L GenusMember
I've just purchased SqlYog and am having problems downloading tables from my oracle database into a MySql database. The ODBC connection functions to allow me to connect to Oracle but fails on the creating and copying data from Oracle with a Duplicate column error. I did manage to down load once but have experienced failures since.
Why is this occuring and how do I correct it.
Thanks in advance
James L. Genus
-
May 11, 2005 at 11:45 pm #17749peterlaursenParticipant
and you don't try to import a table that already exists ? (a remnant from your first successfull attempt ?)
That would be a logical explanation for the “dublicate column” error !
Did you save the job file ?? Check if there is a “drop table if exists” for the tables. I believe there isn't ?
-
May 12, 2005 at 4:01 am #17750James L GenusMember
I did not save a log of the session and cannot find one on the machine. Also, I attempted to bring over several new table with the same results. At no time during the sessions, was I presented an opprotunity to save a log file from the ODBC import wizzard.
-
May 12, 2005 at 4:21 am #17751RiteshMember
Currently, ODBC Import Tool does not have any logging mechanism
The error simply means that you are importing duplicate rows. Empty the table in your MySQL database and re-import the data. Everything should be fine.
-
May 15, 2005 at 4:49 am #17752James L GenusMember
I've tried every thing, I know including removing all the tables from the database. SQLyog attempts to load the DDL STATEMENT several times for the same table and in the same definition statement. The duplicate error points to the DDL statement for creating the table and not in the data. I haven't found anything in the documentation that addresses this problem. I have attempted to create the SQL insert statements options. They show attempts to create the same columns several times and show the data severl times also. I don't believe this to be my error.
Thanks,
James L Genus
-
May 17, 2005 at 3:11 am #17753RiteshMember
Which version of Oracle? Can you give us more info about the ODBC driver?
-
May 18, 2005 at 3:04 am #17754James L GenusMember
Oracle 9i 9.02 with Microsoft ODBC for Oracle 2.573.6200.00
-
May 18, 2005 at 4:48 am #17755RiteshMember
We just tried with our copy of Oracle 8 and everything works great. I will ask my testing team to test it out on a 9i box.
-
August 8, 2005 at 5:34 am #17756jhstone_chinaMemberRitesh wrote on May 18 2005, 04:48 AM:We just tried with our copy of Oracle 8 and everything works great. I will ask my testing team to test it out on a 9i box.[post=”5532″]<{POST_SNAPBACK}>[/post]
hi ,i have the same problem,pls see the attached file.oracle server is 8.1.6.the column repeated three times.
-
August 8, 2005 at 6:08 am #17757RiteshMember
Are you sure that there is no table with the same name in a different table space? We had encountered a similar problem at our side and we fixed it by giving access to the user in only one table space.
-
August 8, 2005 at 7:36 am #17758jhstone_chinaMemberRitesh wrote on Aug 8 2005, 06:08 AM:Are you sure that there is no table with the same name in a different table space? We had encountered a similar problem at our side and we fixed it by giving access to the user in only one table space.[post=”6795″]<{POST_SNAPBACK}>[/post]
my dbms have only one table space.
-
August 8, 2005 at 3:50 pm #17759RiteshMember
We will be releasing BETA 9 today with the bug-fix.
-
August 9, 2005 at 5:52 am #17760RiteshMember
Did BETA 9 solve this problem?
-
August 9, 2005 at 6:39 am #17761jhstone_chinaMemberRitesh wrote on Aug 9 2005, 05:52 AM:Did BETA 9 solve this problem?[post=”6810″]<{POST_SNAPBACK}>[/post]
yes 😀
-
-
AuthorPosts
- You must be logged in to reply to this topic.