MySQL Forums
Forum List  »  Newbie

Re: How to Export Query Result to CSV?
Posted by: Barry Galbraith
Date: July 13, 2013 02:28AM

If you want \\ in output file than you'll need 4 \, ie escape both \ witha a \
INTO OUTFILE '\\\\machine-name\\testfile.csv'

Better still. If it's Windows use / instead. Windows will take either / or \\

Good luck,
Barry.

Options: ReplyQuote


Subject
Written By
Posted
Re: How to Export Query Result to CSV?
July 13, 2013 02:28AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.