How would I go about grabbing all records where a field is older than 21
days and set to a certain status.

I tried INTERVIAL 21 Day but I cant seem to get it to work

Field in the database is datetime

Am I doing something wrong? Or is there a easier way to do this, would
someone mind giving me a example query where I would add 21 days to a
datetime field


Mysql, query
--------------------------------------------------------- 
Chris Kay (Systems Development) 
Techex Communications 
Website: www.techex.com.au Email: [EMAIL PROTECTED] 
Telephone: 1300 88 111 2 - Fax: (02) 9970 5788 
---------------------------------------------------------  


---------------------------------------------------------------------
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

Reply via email to