importing data into MYSQL

This is a discussion on importing data into MYSQL within the MySQL Database forums, part of the Database Forums category; Hi does anyone have an example command line syntax command for importing a delimited flat file with a delimiter into ...


Go Back   Usenet Forums > Database Forums > MySQL Database

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-30-2007
Jack
 
Posts: n/a
Default importing data into MYSQL

Hi does anyone have an example command line syntax command for
importing a delimited flat file with a delimiter into mysql ??

Also, does anyone have insight into this - I tried to use TOAD to
import, but there is this "String Quote Character" entry which does
not allow import of single quotes if you enter a single quote - does
anyone know what to put in this entry ? I tried { and it seemed to
work but this is a strange requirement.

Thank you,

Ben

Reply With Quote
  #2 (permalink)  
Old 02-03-2007
nino9stars@yahoo.com
 
Posts: n/a
Default Re: importing data into MYSQL

On Jan 30, 11:10 am, "Jack" <jack_posem...@yahoo.com> wrote:
> Hi does anyone have an example command line syntax command for
> importing a delimited flat file with a delimiter into mysql ??


I usually import data using LOAD DATA INFILE. Here is the manual
entry:
http://dev.mysql.com/doc/refman/5.0/en/load-data.html


> Also, does anyone have insight into this - I tried to use TOAD to
> import, but there is this "String Quote Character" entry which does
> not allow import of single quotes if you enter a single quote - does
> anyone know what to put in this entry ? I tried { and it seemed to
> work but this is a strange requirement.


Sorry... Don't know anything about TOAD, and I may be way off base,
but with single quotes, you can escape them with a / (forward slash?),
and they will be accepted into mysql.

Hope some of that helps,

Nino

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:01 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0