MySQL Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsDatabasesMySQL Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 10th, 2012, 08:08 AM
Dushy Squirt Dushy Squirt is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2012
Posts: 1 Dushy Squirt User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 m 23 sec
Reputation Power: 0
Importing Field Formatted As Text Containing Fractions ?

Hi,

I have a text file that I created from an access 2003 database that I would like to import to a MySQL database hosted on a web server. I have created the MySQL database, created the table that is to receive the imported data and set the field parameters.

When I use the phpmyadmin tool to import the text file it all goes OK except for one column which is not importing correctly. The column is formatted as text in the import file using text qualifiers (""") and contains a mixture of values such as "Hd", "ShHd", "3¼", "5" etc. In MySQL the field format is text with collation of latin1_swedish_ci. The collation was automatically set by the database rather than me specifically selecting it.

The values that contain the fractions such as "3¼" are being altered during the import to "3?", ie, the fractional part is being replaced with a question mark symbol. Is there a setting that I can update for this field in the MySQL database table that will allow the import to proceed OK?

Any advice most appreciated

Thx
Dushy

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesMySQL Help > Importing Field Formatted As Text Containing Fractions ?

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap