Article View: borland.public.vdbase.data.sql
Article #1193Re: Date - SQL
From: Gary White
Date: Sat, 04 Apr 1998 00:00
Date: Sat, 04 Apr 1998 00:00
30 lines
1716 bytes
1716 bytes
On Sat, 04 Apr 1998 11:49:26 +0800, EDDIE SHUM
<econshum@netvigator.com> shared these words of wisdom:
> This is the first time that I access this newsgroups and so a big hello
> to all you guys out there. I have a couple of question to ask and would
> be grateful if someone could answer them :
Welcome.
> 1. What is wrong with my following SQL statement:
>
> SELECT DATE_I_REC FROM PAYMENT_FORM WHERE DATE_I_REC > {15/02/98}
>
> DATE_I_REC is a date field containing information on dates when
> invoices are received and PAYMENT_FORM is my file. I have tried other
> combinations but nothing works.
Two things:
You don't use braces {} in SQL and dates must appear in m/d/y format.
Try SELECT DATE_I_REC FROM PAYMENT_FORM WHERE DATE_I_REC > 02/15/98
> 2. I read a few of the message this morning (it is morning now in Hong
> Kong) and it seems there is a CD issued by BORLAND on 'Teach yourself
> SQL in 21 days'? I am reading a book of the same name (2nd edition)
> published by SAMS. Is it the same book? So, where is my CD?
I believe it is the same. However, it was distributed only as a
promotional item with US versions of VdB.
Take care,
Gary
Technical Details
Message-ID:
<352636b4.1235598@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3525ADC6.529F@netvigator.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: ff5a1,f86e0e72f9edadfc X-Google-Attributes: gidff5a1,public From: dontspamgaryw@qni.com (Gary White) Subject: Re: Date - SQL Date: 1998/04/04 Message-ID: <352636b4.1235598@forums.borland.com> X-Deja-AN: 340803930 Content-Transfer-Encoding: 7bit References: <3525ADC6.529F@netvigator.com> Content-Type: text/plain; charset=us-ascii Organization: Just Me Mime-Version: 1.0 Reply-To: dontspamgaryw@qni.com Newsgroups: borland.public.vdbase.data.sql