Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » DBISAM Technical Support » Support Forums » DBISAM SQL » View Thread |
Messages 1 to 3 of 3 total |
select by date (+30 days) |
Fri, Jan 5 2007 4:02 AM | Permanent Link |
Thomas | i have a table with a fieldname "plansewing" from datatype "date"
i want to select all orders, where the plansewing-date is not "older" than 30 days, something like: select * from orders where plansewing < date+30 (or < now+30) ---but it dont work... dbisam dont know the actual date from the server? |
Fri, Jan 5 2007 4:07 AM | Permanent Link |
Thomas | Thomas <info@magoarte.com> wrote:
i have a table with a fieldname "plansewing" from datatype "date" i want to select all orders, where the plansewing-date is not "older" than 30 days, something like: select * from orders where plansewing < date+30 (or < now+30) ---but it dont work... dbisam dont know the actual date from the server? i tried it now with select * from orders where plansewing < current_date+30 --- the querey is running, but dont bring the correct results, also show me orders with plansewing-date from May 07 |
Fri, Jan 5 2007 4:09 AM | Permanent Link |
Thomas | Thomas <info@magoarte.com> wrote:
Thomas <info@magoarte.com> wrote: i have a table with a fieldname "plansewing" from datatype "date" i want to select all orders, where the plansewing-date is not "older" than 30 days, something like: select * from orders where plansewing < date+30 (or < now+30) ---but it dont work... dbisam dont know the actual date from the server? i tried it now with select * from orders where plansewing < current_date+30 --- the querey is running, but dont bring the correct results, also show me orders with plansewing-date from May 07 sorry, sorry, was my fault, i had inserted the > sign instead < great, its working, sorry once more, this threat can be deleted. |
This web page was last updated on Sunday, May 5, 2024 at 10:18 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |