Finding a specific date
My registration_date column has to be a DATETIME type and I have to zero in on a specific date.
SELECT registration_date
FROM reserved
WHERE (
registration_date >= '2005-18-06 00:00:00'
)
AND (
registration_date <= '2005-18-06 23:59:59'
)
Is there a more streamlined way I can extract just the date from a DATETIME type, or is this the best or only approach?
Subject
Written By
Posted
Finding a specific date
June 17, 2005 03:26PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.