Hi cedric
Why dont u use the between clause in your sql for
oracle to compare the dates.
say
where date between '01-JAN-1999' AND '31-DEC-1999'
Hope this will work
Thanks
--- cedric sk chin <[EMAIL PROTECTED]> wrote:
> hi fellow developers,
>
> can anyone give me some ideas on this? say if users
> wish to query the records for the year 1999, what
> should i do? i have a whole lot of records ranging
> from 1991 to 2001 as in oracle data field,
> "dd-mm-yy", so in this case what should i do in
> order to extract the records which fall on the year
> 1999?
>
> thanks for any ideas/suggestions.
>
> cheers,
> cedric
>
__________________________________________________________________
> Get your own FREE, personal Netscape Webmail account
> today at http://webmail.netscape.com/
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with
> body: "signoff JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body:
> "set JSP-INTEREST DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices.
http://auctions.yahoo.com/
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets