forums › forums › SQLyog › Sync tools, Migration, Scheduled Backup and Notifications › Access 2000 ODBC Import
- This topic is empty.
-
AuthorPosts
-
-
February 11, 2004 at 10:53 pm #8325hoserMember
I'm importing an Access 2000 table and a Date/Time field is ending up as a timestamp field in mysql. That doesn't seems right. 🙁
-
February 12, 2004 at 6:38 am #15470peterlaursenParticipant
my personal experience is that
exporting from Access2000 to mysql
works bettter than
importing from Access2000 to mysql using sqlyoug
I don't know if it is a problem with sqlyog og with the ODBC-driver!
try these steps
1) use sqlyog to create an empty table in mysql
2) export the tables from Access
3) if needed you can alter mysql tables (field lengths etc) afterwards
I don't know if that solves your problem but give it a try!
And remember to answer back …
-
February 12, 2004 at 6:39 am #15471peterlaursenParticipant
correction:
should have been “create an empty database” not “create an empty table”
sorry for that!
-
February 12, 2004 at 7:57 pm #15472hoserMember
Thanks for the feedback..I can work around the problem a couple of ways. The Access->Export to mysql works and a older program I have called mysqlfront does the import correctly. I'm thinking SQLyog should handle the import correctly, so I guess I should submitt it as a possible bug.
-
February 12, 2004 at 10:00 pm #15473ShadowMember
The ODBC import wizard offers the transform option when you select the tables that are to be imported. The transform option enables you to change the field type to the desired type if the default does not fit your needs, so there is no bug whatsoever.
-
February 13, 2004 at 3:10 am #15474hoserMember
I agree it's not a bug. I just think the datetime field should be imported as a datetime…rather than some default that you have to transform back. The desired field type after the import should be the field type I started with, if possible.
So maybe it falls under the program improvement area?
-
February 13, 2004 at 9:15 pm #15475ShadowMember
That's a better idea! The best solution could be to allow the users to alter the default field mappings before the import and SQLyog would store the new default types. Agreed?
-
-
AuthorPosts
- You must be logged in to reply to this topic.