Check out the 'INTO OUTFILE' portion of the 'SELECT' command:

http://www.mysql.com/documentation/mysql/bychapter/manual_Reference.html#SELECT

-rh

>Hello
>
>Is it possible to put the result of a Mysql request in a file
>
>and how to do this ?
>
>I try
>
>mysql >SELECT name from table where name like 'B%'; > file.txt
>
>but error !
>
>Thanks for your help
>
>Frederic

---------------------------------------------------------------------
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 <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to