Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Please Help: Dates in Oracle
Hello,
I'm trying to write a SQL Passthrough query to an Oracle database in access. I seem to be having trouble querying by a date field. Here's my entire SQL statement:
SELECT *
FROM HREI.DEPARTMENT_CODE
WHERE EXTRACT_DATE = #12/13/97#;
HREI.DEPARTMENT_CODE is the table
EXTRACT_DATE is a field containing date formatting like this: 10/4/97
I've played arround with other fields in the database and I can query fine. It's with the date field that I'm having problems. Am I using the "#" signs correctly?
Any help would be much appreciated. Thanks
Mike. Received on Wed Dec 17 1997 - 00:00:00 CST