🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.interbase.sql
Article #708

>=MAX(DATEFIELD)-15

#708
From: Serra
Date: Fri, 27 Jul 2007 20:26
11 lines
972 bytes
IB 6.02

i want to select just last 15 days orders
something like

SELECT * FROM ORDERS
WHERE ODATE>=MAX(ODATE)-15

( i dont want CURRENT_DATE-15 )

Thank you. 
Technical Details
Message-ID: <46aa5501$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!solnet.ch!solnet.ch!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 114a0e,ba742c0c4b5d7d8d,start
X-Google-Attributes: gid114a0e,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Serra" <no@no.com>
Newsgroups: borland.public.interbase.sql
Subject: >=MAX(DATEFIELD)-15
Date: Fri, 27 Jul 2007 23:26:17 +0300
Lines: 13
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 88.240.151.37
Message-ID: <46aa5501$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1185568001 88.240.151.37 (27 Jul 2007 13:26:41 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!solnet.ch!solnet.ch!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail