Comparing 2 Timestamps in an SQL Query
392094Apr 9 2003 — edited Apr 10 2003Hi all,
I'm connecting to an Oracle Database by JDBC und now I'm trying to compare the stored Timestamp-Object with another Java-TimestampObject. My Query looks like that:
select *
from table
where date.getTimestamp() > old_date
The first 'date' names the head of column und 'old_date' is a Java-Timestamp. I receive the following error:
ORA-00933: The Query could not be correctly ended
Who can help me???