S
scorpiorc
Hi, I'm trying to write a query that will only return records from a table
where the date is equal to today's date. I'm using Date(). The date field
in the table that I'm querying has a date and time stamp, ex. 9/14/05
1:23:45PM. Of course when I run the query, it returns no records because
Date() will never find a match in the table's date field. Is there a way to
write the query so that it will only look to match the date and not the time?
I thought I could use Trunc, but that does not work. I also cannot modify
or update the table.
where the date is equal to today's date. I'm using Date(). The date field
in the table that I'm querying has a date and time stamp, ex. 9/14/05
1:23:45PM. Of course when I run the query, it returns no records because
Date() will never find a match in the table's date field. Is there a way to
write the query so that it will only look to match the date and not the time?
I thought I could use Trunc, but that does not work. I also cannot modify
or update the table.