Payne wrote:
Hey,
been trying to output a select statment to a file, all the books I
have only show how to input from a file, what is the correct way....
I thought I could do select * from my_toy >> `/tmp/my_toys`
But I get an error.
Payne
You can use the 'tee' command, eg:
tee logfile.txt
Or you can start mysql with the --tee switch, eg:
mysql --tee logfile.txt
--
Daniel Kasak
IT Developer
NUS Consulting Group
Level 5, 77 Pacific Highway
North Sydney, NSW, Australia 2060
T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989
email: [EMAIL PROTECTED]
website: http://www.nusconsulting.com.au
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]