Pe 27 Sep 2006, la 10:29, Chris <[EMAIL PROTECTED]> a scris:
 >Did you try using a space (' ') as the separator? Did you get an error?

And at 7:41 +0000 27/9/06, [EMAIL PROTECTED] wrote:
Yes, I did.

...

So, I need to specify somehow that the fields are delimited by any number of spaces...

One answer of course is grep. However, as far as I can determine, MySQL can only apply grep in the context of a LIKE clause, So...

Do it on your text file before importing, if you have a text editor that can handle regular expressions. Just search for / +/ and replace with ' '. Then import using a single ' ' as the 'enclosed by' string.

--
Cheers... Chris
Highway 57 Web Development -- http://highway57.co.uk/

Whenever I watch TV and see those poor starving kids all over the
world, I can't help but cry. I mean I'd love to be skinny like
that, but not with all those flies and death and stuff.
   -- Mariah Carey

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to