Date comparison

  • From: manoj.gurnani@xxxxxxxxxxxxx
  • To: Oracle-L@xxxxxxxxxxxxx
  • Date: Mon, 12 Sep 2005 16:10:34 +0530





Hi All,
            I've a date column in a  oracle db table which stores date and
time values.
Is it advisable to use a date variable directly in a comparison with a date
column
without any formatting or using any other conversion functions like
to_char.

here the date variable also stores the date & time part from the  table .

e.g

select * from <table a>
where <date_column> = <date_variable>

Regards
Manoj



This e-Mail may contain proprietary and confidential information and is sent 
for the intended recipient(s) only. 
If by an addressing or transmission error this mail has been misdirected to 
you, you are requested to delete this mail immediately.
You are also hereby notified that any use, any form of reproduction, 
dissemination, copying, disclosure, modification,
distribution and/or publication of this e-mail message, contents or its 
attachment other than by its intended recipient/s is strictly prohibited.

Visit Us at http://www.polaris.co.in
--
//www.freelists.org/webpage/oracle-l

Other related posts: