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

Home -> Community -> Usenet -> c.d.o.misc -> Quering a specific TIME not date

Quering a specific TIME not date

From: Gaz <gonkowonko_at_gmail.com>
Date: 26 Jan 2007 03:19:47 -0800
Message-ID: <1169810387.810058.180800@v45g2000cwv.googlegroups.com>


I dont know if its possible as ive tried everything but cant get it to work...

My data is stored as a date so its for example 23/03/2007 10:00:00

How would i write a SQL statement to find me all records that have 10:00 in them and ignore the date?

Ive tried "Where to_date(fieldname,'24H:MI') >=to_date('10:00',24H:MI') but it doesnt work

HELP ...... Received on Fri Jan 26 2007 - 05:19:47 CST

Original text of this message

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