Re: Export query to text file ***[SPAM]*** **SPAM HTMLM**

2004-05-06 Thread Victoria Reznichenko
Yingyos <[EMAIL PROTECTED]> wrote: > > I type this command line. > > mysql -uuser -N -e"select date_format('2004-02-29','%X')" > sample2.txt > > When i open in text editor,it show that '2004' only. > > But i want format display on text file. > > mysql> select date_format('2004-02-29','%X'); >

Re: Export query to text file

2004-05-05 Thread Michael Kruckenberg
#x27;2004-02-29','%X')" > sample2.txt -Original Message- From: Yingyos To: Victor Pendleton Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: 5/4/04 11:04 PM Subject: Re: Export query to text file Victor Pendleton wrote: The `INTO OUTFILE` clause is expecting a table r

Re: Re: Export query to text file ***[SPAM]*** **SPAM HTMLM**

2004-05-05 Thread Yingyos
ingyos Santipasert Victor Pendleton wrote: mysql -uuser -N -e"select date_format('2004-02-29','%X')" > sample2.txt -Original Message- From: Yingyos To: Victor Pendleton Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: 5/4/04 11:04 PM Subject: Re: Export que

RE: Export query to text file

2004-05-05 Thread Victor Pendleton
mysql -uuser -N -e"select date_format('2004-02-29','%X')" > sample2.txt -Original Message- From: Yingyos To: Victor Pendleton Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: 5/4/04 11:04 PM Subject: Re: Export query to text file Victor Pendleton wrot

Re: Export query to text file

2004-05-04 Thread Yingyos
Victor Pendleton wrote: The `INTO OUTFILE` clause is expecting a table reference. An alternatvie is mysql -uuser -N -e"select now()" > sample2.txt -Original Message- From: Yingyos To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: 5/4/04 2:20 AM Subject: Export query to text fil

RE: Export query to text file

2004-05-04 Thread Victor Pendleton
The `INTO OUTFILE` clause is expecting a table reference. An alternatvie is mysql -uuser -N -e"select now()" > sample2.txt -Original Message- From: Yingyos To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: 5/4/04 2:20 AM Subject: Export query to text file Hi, I have MySQL 4.0.

Export query to text file

2004-05-04 Thread Yingyos
Hi, I have MySQL 4.0.17 on Windows XP. I use SELECT ... INTO OUTFILE print out query to text file. If i write this command. mysql>SELECT * from tbl1 INTO OUTFILE "C:\\Query\\sample1.txt"; MySQL reponse OK.But i change command. mysql>SELECT now() INTO OUTFILE "C:\\Query\\sample2.txt"; MySQL res