MySQL Forums
Forum List  »  Newbie

Re: Import of Fix Length Data File
Posted by: David Briscoe
Date: February 11, 2014 12:37PM

Rick, I have successfully loaded my first table.

Steps taken:

1. Used a text editor to convert the file to pure ASCII

2. Run this statement within Workbench.

LOAD DATA LOCAL INFILE 'C:/holdload/administrator.txt'
INTO TABLE testflwc.administrator
FIELDS terminated BY '\t'
LINES
TERMINATED BY '\r\n'
IGNORE 1 LINES
(ad_admin_name,ad_street1,ad_street2,ad_city,ad_state,ad_zip,ad_les_carrier_id,ad_userid,ad_system,ad_datetime);

I am teaching myself Mysql and Workbench. I initially purchased two reference books on my ipad. For me, reference books do not work on the ipad.

I have purchase a real live book arriving in a couple of days called MySQL SQL. Hopefully, this will answer most of my questions.

Thanks for your help.

Options: ReplyQuote


Subject
Written By
Posted
February 05, 2014 11:05AM
Re: Import of Fix Length Data File
February 11, 2014 12:37PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.