3 messages in com.mysql.lists.win32Re: spool?| From | Sent On | Attachments |
|---|---|---|
| gretchenl | 22 Apr 2000 14:47 | |
| Phlip | 22 Apr 2000 17:22 | |
| sin...@mysql.com | 23 Apr 2000 05:47 |
| Subject: | Re: spool?![]() |
|---|---|
| From: | sin...@mysql.com (sin...@mysql.com) |
| Date: | 04/23/2000 05:47:22 AM |
| List: | com.mysql.lists.win32 |
On Sun, 23 Apr 2000, gretchenl wrote:
Is there a similar mysql command such as the spool command from oracle? I would
like all the results from mysql output to a file.
Thanks
Hi!
Try this:
mysql -u .. -h .. -p.... database -e "select ....." > output_file
Regards,
Sinisa
+----------------------------------------------------------------------+ | TcX ____ __ _____ _____ ___ == mys...@tcx.se | | /*/\*\/\*\ /*/ \*\ /*/ \*\ |*| Sinisa Milivojevic | | /*/ /*/ /*/ \*\_ |*| |*||*| mailto:sin...@mysql.com | | /*/ /*/ /*/\*\/*/ \*\|*| |*||*| Larnaka, Cyprus | | /*/ /*/ /*/\*\_/*/ \*\_/*/ |*|____ | | ^^^^^^^^^^^^/*/^^^^^^^^^^^\*\^^^^^^^^^^^ | | /*/ \*\ Developers Team | +----------------------------------------------------------------------+




