select *
INTO OUTFILE 'outfile.txt'
FIELDS TERMINATED by ','
LINES TERMINATED BY '\n'
from nGrams
Is there any way I can modify this query to return each row on one line?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Seems like thats exactly what it would do already.
However, if you are doing this on Windows, you might want to use
LINES TERMINATED BY '\r\n'or some crappy text editors (e.g. notepad) might not see\nby itself as a line break