Solved

select into outfile error

Posted on 2010-11-16
2
521 Views
Last Modified: 2012-05-10
Hi

I have this command

mysql> SELECT * INTO OUTFILE
    -> "C:\outfile.txt"
    -> FIELDS TERMINATED BY '\t'
    -> LINES TERMINATED BY '\n'
    -> FROM employee;
Query OK, 4 rows affected (0.00 sec)


which seems to have ran ok, but the output file c:\outfile.txt is actually in c:\program files\mysql\mysql server 5.0 \data

thanks
0
Comment
Question by:andieje
2 Comments
 
LVL 11

Accepted Solution

by:
JoeNuvo earned 500 total points
ID: 34151585
should it be c:\\outfile.txt ?
0
 

Author Closing Comment

by:andieje
ID: 34154611
you're absolutely right!
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to search a number of product tables located within separate mysql databases using php ? 8 70
sql_mode 1 26
mysql ide 10 40
mysql between clause 2 27
Introduction In this article, I will by showing a nice little trick for MySQL similar to that of my previous EE Article for SQLite (http://www.sqlite.org/), A SQLite Tidbit: Quick Numbers Table Generation (http://www.experts-exchange.com/A_3570.htm…
Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question