Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> SELECT on part of a date field
Hello, here is my select statement :
SELECT * FROM ACTUALITE WHERE TO_CHAR(DateCrea,'MM')=1 AND TO_CHAR
(DateCrea,'YYYY') = 2002 ORDER By Categorie, DateCrea DESC
DATE_CREA is a field of the table ;-)
Is it the best way to search for the part of a date (I mean, the fastest !)
Thanks Received on Wed Jan 30 2002 - 05:12:06 CST