List:General Discussion« Previous MessageNext Message »
From:Paul DuBois Date:October 12 2002 5:45pm
Subject:Re: REGEXP
View as plain text  
At 18:35 +0200 10/12/02, tl wrote:
>Hello,
>
>mysql>LOAD DATA LOCAL INFILE 'access.log' INTO TABLE tmp FIELDS 
>TERMINATED BY 'REGEXP \"^[ ]{1,}$\"' OPTIONALLY ENCLOSED BY '' 
>ESCAPED BY ' '  LINES TERMINATED BY '\n' ;
>
>How can I make that it would work as I expected?
>How terminate fields by space(s)?

1) You can't specify patterns as file structure indicators.
2) It appears that you want space as the escape character *and* as the
field terminator.  That can't possibly work; it's ambiguous.

>
>Thanks Very much.
>
>Alvydas
Thread
REGEXPtl12 Oct
  • Re: REGEXPPaul DuBois12 Oct