Re: LOAD DATA problem

2003-06-01 Thread Mark Matthews
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jerome Smith wrote: > Hello everybody, > > Im new to this list, and also new to MySQL. I would be very grateful if > someone could help me with the following problem: > > I have MySQL server version 4.0.12 with a database on a Linux server. I > work

LOAD DATA problem

2003-06-01 Thread Jerome Smith
Hello everybody, I’m new to this list, and also new to MySQL. I would be very grateful if someone could help me with the following problem: I have MySQL server version 4.0.12 with a database on a Linux server. I work from a Windows XP client. I am trying to load data from a text file into a table

Re: Load Data Problem

2002-07-04 Thread Roger Baklund
* [EMAIL PROTECTED] > Hie there, > I'm having a potential problem with Load Data Infile function > where i'm unable to get the right no. of records to appear in the table. I > have a table created in MySQL with 2 fields region (char 1)-pkey and > regionname (char 30). The table name is c

Load Data Problem

2002-07-03 Thread ericloe
Hie there, I'm having a potential problem with Load Data Infile function where i'm unable to get the right no. of records to appear in the table. I have a table created in MySQL with 2 fields region (char 1)-pkey and regionname (char 30). The table name is called region. I've also create

Re: Load Data Problem

2002-04-03 Thread Jon Barker
Hi, >I'm having a problem when using Load Data where the single and double quotes >in the text file are getting nuked. It appears that the escape character is >not being respected but I'm not sure why. It is also knocking out >characters near the quotes. Your single and double quotes come out

Re: Load Data Problem

2002-04-03 Thread Kim Kohen
G'day All >"kimtest","Kim","","","this is kim¹s test stories¹ to see how we c¹n >accommodate single Œquotes¹ There are a ³couple² of ³double² quotes here >to. And ³here are some Œsingle¹ quotes that¹re enclosed in >doubles²","2002-4-4","","" I seem to have found the problem to my own questi

Re: Load Data Problem

2002-04-03 Thread Kim Kohen
G'day Colin > load data local infile '~/Documents/web export.txt' into table stories > fields terminated by ',' enclosed by '"' escaped by '\\' lines > terminated by '\r' > (StoryName,Writer,Heading,Caption,Body,ListDate,Section,Publication); Thanks for your suggestion but sadly it didn't fi

Re: Load Data Problem

2002-04-03 Thread Colin Faber
Hi kim, Try using load data local infile '~/Documents/web export.txt' into table stories fields terminated by ',' enclosed by '"' escaped by '\\' lines terminated by '\r' (StoryName,Writer,Heading,Caption,Body,ListDate,Section,Publication); Also, if this is a windows text file you should be us

Load Data Problem

2002-04-03 Thread Kim Kohen
Hello All, I'm having a problem when using Load Data where the single and double quotes in the text file are getting nuked. It appears that the escape character is not being respected but I'm not sure why. It is also knocking out characters near the quotes. The command I'm running is: load dat

Re: Strange LOAD DATA problem

2002-01-06 Thread Paul DuBois
At 17:36 + 1/6/02, David Ayliffe wrote: >I have a file (data.txt) which contains the data: > >ELITEô85.ôQô4 DaysôLilleshallôChris >IMPô75.ôQôTues&FriôLilleshallôSue >LEFTô0.ôôôLeftô >PRESCô24.ôTôOne DayôWrekinôArleen >RECô27.ôQôTuesôWrekinôTony > >I use the "LOAD DATA" DDL

RE: Strange LOAD DATA problem

2002-01-06 Thread David Ayliffe
Yeah useful but that still doesn't solve my problem -Original Message- From: Maciek Dobrzanski [mailto:[EMAIL PROTECTED]] Sent: 06 January 2002 17:43 To: David Ayliffe; 'MySQL' Subject: Re: Strange LOAD DATA problem > Also I use the field delimiter ô (ALT+147) be

Strange LOAD DATA problem

2002-01-06 Thread David Ayliffe
I have a file (data.txt) which contains the data: ELITEô85.ôQô4 DaysôLilleshallôChris IMPô75.ôQôTues&FriôLilleshallôSue LEFTô0.ôôôLeftô PRESCô24.ôTôOne DayôWrekinôArleen RECô27.ôQôTuesôWrekinôTony I use the "LOAD DATA" DDL statement: LOAD DATA LOCAL INFILE "data.txt" INTO TA