Below is the Mysql command which i used to write the specific table columns into a file called result.txt
Select EMAILID,ZUID from MailBox INTO OUTFILE 'result.txt';
After executing the command i get the output
Query OK, 8 rows affected (0.00 sec)
But when i search for the file , i find that it hasn't been created. So please clarify whether this command actually writes the command into the file?? If not, what is the correct command to write sql command's result into an output file??. Sorry in case the question sounds noobish.
/tmp/result.txt. perhaps it'd be c:\windows\temp\result.txt or c:\users\yourusername\appdata\local\temp, etc... many options