List:General Discussion« Previous MessageNext Message »
From:Paul DuBois Date:December 13 2001 6:03pm
Subject:Re: SELECT INTO LCOAL OUTFILE
View as plain text  
On Thu, Dec 13, 2001 at 12:37:59PM -0500, hamzatk@stripped wrote:
> ello Paul,
> 
>  can you try this and let see if it is going to work !
> 
> UNLOAD DATA FROM TABLE fred INTO LOCAL OUTFILE "file.txt";
> 
> And if it fails, i am sure somebody their will correct it!

Sorry, why would you expect it to work?  It's not a legal
statement in MySQL.

> Regards.
> kamal
> 
> >Hi,
> >
> >Is there a reason why, if I can
> >
> >LOAD DATA LOCAL INFILE 'file' INTO TABLE fred;
> >
> >why I can't
> >
> >SELECT * INTO LOCAL OUTFILE '/tmp/file.txt' FROM fred
> 
> Because it's just never been implemented.
> 
> >
> >I know the data has to travel to the client, but it would make scripting
> >easier!
> >
> 
> 
> 
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
> 
> To request this thread, e-mail <mysql-thread93922@stripped>
> To unsubscribe, e-mail <mysql-unsubscribe-paul=snake.net@stripped>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
Thread
Re: SELECT INTO LCOAL OUTFILEhamzatk13 Dec
  • Re: SELECT INTO LCOAL OUTFILEPaul DuBois13 Dec