![]() | ![]() Products ![]() ![]() ![]() ![]() |
Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB SQL » View Thread |
Messages 1 to 5 of 5 total |
![]() |
Wed, Dec 26 2007 5:41 PM | Permanent Link |
"Scott Woods" | I am trying to do something like the following...
SELECT * FROM Estimates WHERE CURRENT_DATE <= (EstimateDate + 90)) but I am getting an error msg. Basically I want to add 90 days to the date field stored in my table and make sure it is <= the current date. Thanks |
Thu, Dec 27 2007 4:29 AM | Permanent Link |
Roy Lambert NLH Associates ![]() | Scott
I did manage to figure this one out for someone a while ago in these ngs. Basically its because ELevateDB is standards compliant (or something like that) I think its something like SELECT * FROM Estimates WHERE CURRENT_DATE <= DATE (EstimateDate + INTERVAL '90' DAY)) Roy Lambert |
Thu, Dec 27 2007 10:47 AM | Permanent Link |
"Scott Woods" | Excellent - thanks!
"Roy Lambert" <roy.lambert@skynet.co.uk> wrote in message news:1FA82560-DC3A-439C-B5A0-103AD35E8F6C@news.elevatesoft.com... > Scott > > > I did manage to figure this one out for someone a while ago in these ngs. > Basically its because ELevateDB is standards compliant (or something like > that) > > I think its something like > > SELECT * FROM Estimates WHERE CURRENT_DATE <= DATE (EstimateDate + > INTERVAL '90' DAY)) > > > Roy Lambert > |
Thu, Dec 27 2007 11:11 AM | Permanent Link |
"Scott Woods" | Here is the format that works (in case anyone searches for this in the
future): "SELECT * FROM Estimates WHERE (CURRENT_DATE <= (EstimateDate + INTERVAL '90' DAY))" Thanks Roy for the help! |
Thu, Dec 27 2007 11:33 AM | Permanent Link |
Roy Lambert NLH Associates ![]() | Scott
I'm sure we'll all get used to it .... eventually. <rant> I've spent a lot of today re-writing my logon system for my app. I'm nearly there. For starters the logic is reversed - the old logic went - first find the database, open users and then check logon info. Now it goes - try and login, then choose the database. Its bloody amazing just how much I'm having to alter. Memory tables are an especial pain in the bum. Before I could just create and open. Now I have to logon first then open the memory database hen I can create and open the tables. I've also had to alter the closing of memory tables for when the user aborted the logon. </rant> Roy Lambert |
This web page was last updated on Wednesday, August 14, 2024 at 07:31 PM | Privacy Policy![]() © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? ![]() |