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 > Load data Infile Data too long

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-05-06, 10:15
riqband riqband is offline
Registered User
 
Join Date: Feb 2006
Posts: 23
Unhappy Load data Infile Data too long

HI all,
I,m using mysql version 5 and trying to do a import
SQL
USE witnessdw;
LOAD DATA INFILE 'c:/extract.txt'
INTO TABLE witnessdw.evaluationgi
FIELDS TERMINATED BY ',' ENCLOSED BY '"'
IGNORE 1 LINES;
Error
Recieveing this message
Data too long for column 'Form Master Obj Ouid' at row 1 ///error 1406

Note:
The field type of the table is varchar(50)
But the maximum character in the text file field is not more than 15 characters


Any ideas??????????
Reply With Quote
  #2 (permalink)  
Old 09-13-06, 05:17
pakcik_kantin pakcik_kantin is offline
Registered User
 
Join Date: Jul 2004
Posts: 62
can you give a sample records that stuck, and your table structure
Reply With Quote
  #3 (permalink)  
Old 09-13-06, 05:28
riqband riqband is offline
Registered User
 
Join Date: Feb 2006
Posts: 23
Thanks for replying first of all.

I got around the problem but thanks anyway..
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