I'm trying to select into outfile to a file that already exist.
This has been discussed before, I know, but the solution suggested
results in an SQL-error, as shown below. So what's the real solution?
Niklas Rudemo
Virtutech
mysql> select * into outfile 'person.txt' from person;
Query OK, 0 rows affected (0.00 sec)
mysql> select * into outfile 'person.txt' from person;
ERROR 1086: File 'person.txt' already exists
mysql> select * into outfile 'person.txt' REPLACE from person;
ERROR 1064: You have an error in your SQL syntax near 'REPLACE from person'
at l
ine 1
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php