Re: load data infile problems

2002-04-22 Thread Egor Egorov
Daniel, Monday, April 22, 2002, 2:31:15 PM, you wrote: DJ> I'm having difficulties with loading values from a text file into my DJ> databse. DJ> I've tried the following and got these errors. last one is with full path DJ> === DJ> mysql> LOAD DATA INFILE "months.txt" INTO TABL

Re: load data infile problems

2002-04-22 Thread Daniel Jarrett
Disregard my last post.. - Original Message - From: "Daniel Jarrett" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, April 22, 2002 11:44 PM Subject: Re: load data infile problems > i figured it out.. it worked when i used local. > > although

Re: load data infile problems

2002-04-22 Thread Daniel Jarrett
nual a bit cryptic dan - Original Message - From: "Melvyn Sopacua" <[EMAIL PROTECTED]> To: "Daniel Jarrett" <[EMAIL PROTECTED]> Cc: "MySQL General" <[EMAIL PROTECTED]> Sent: Monday, April 22, 2002 9:48 PM Subject: Re: load data infile problems

Re: load data infile problems

2001-10-23 Thread Carl Troein
Chris Book writes: > My actual data has " represented as "", so I need to set it up this way. I > would prefer to work with the files the way they are now rather than > re-export my data a different way, since that machine is inconvenient right > now. > > I can export data using the same param

Re: load data infile problems

2001-10-22 Thread Carl Troein
Chris Book writes: > load data local infile 'file.txt' into table mytable fields optionally > enclosed by '"' escaped by '"' terminated by ',' I'm not sure how mysql handles the case where the escape character is the same as the field enclosing character, and I can see a problem here if you hav

RE: load data infile problems

2001-10-22 Thread Moshe Gurvich
i had similar problem until used line delimiter different than default "\n" try this: load data local infile 'file.txt' into table mytable fields optionally enclosed by '"' escaped by '"' terminated by ',' LINES TERMINATED BY '-= aNy we1Rd cHar 0r Str1Ng =-' :) -Original Message--