Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: querying records with date field

Re: querying records with date field

From: William Robertson <williamr2019_at_googlemail.com>
Date: Tue, 16 Oct 2007 23:57:52 -0700
Message-ID: <1192604272.135215.186260@e9g2000prf.googlegroups.com>


On Oct 15, 7:33 pm, "mrajanikris..._at_gmail.com" <mrajanikris..._at_gmail.com> wrote:
> hi,
>
> I want to retrieve records from a table by comparing the date field.
>
> select * from mytable where joindate >= <my date variable from front-
> end>
>
> my date variable contains date time value. So I want to check with
> date and time.>From the above query, I need to get records whose joindate >= 2007-
>
> oct-11 19:25:06
>
> How can I write the query to check the dates.
>
> Thanks in advance.

Can't your front end just pass a proper DATE variable? Received on Wed Oct 17 2007 - 01:57:52 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US