RE: Auto Date selection and format

2004-07-01 Thread Mike Koponick
Michael/Wesley, Thanks for your help. You got me going in the right direction! Thanks again!!! Mike -Original Message- From: Michael Stassen [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 30, 2004 7:37 PM To: Mike Koponick Cc: [EMAIL PROTECTED] Subject: Re: Auto Date selection

Auto Date selection and format

2004-06-30 Thread Mike Koponick
Hello all, I would like to be able to select the certain dates within my script. select created_date, status, user, comment1, comment7, comment8, action from users WHERE customerid = 'Customer' AND created_date BETWEEN '2004-05-31' AND '2004-07-01' ORDER BY created_date, status into outfile

Re: Auto Date selection and format

2004-06-30 Thread Wesley Furgiuele
I can help easily enough on formatting the dates... The DATE_FORMAT( date, format ) function is what you want: DATE_FORMAT( date, %m/%d/%Y ) Wes On Jun 30, 2004, at 9:40 PM, Mike Koponick wrote: Hello all, I would like to be able to select the certain dates within my script. select created_date,

Re: Auto Date selection and format

2004-06-30 Thread Michael Stassen
Mike Koponick wrote: Hello all, I would like to be able to select the certain dates within my script. select created_date, status, user, comment1, comment7, comment8, action from users WHERE customerid = 'Customer' AND created_date BETWEEN '2004-05-31' AND '2004-07-01' ORDER BY created_date,