datediff error
535323Aug 3 2007 — edited Dec 22 2008hi,
i tried to run this query,
select datediff( 'DD', '01-Jan-2004 22:00:00', '01-May-2004 06:00:00' ) from dual
but it shows me an error message while executing the codes.
ORA-00904: "DATEDIFF": invalid identifier
why is it that way? does the error message associate with the oracle version i am using, Oracle 9i? or there is something wrong with the codes?