Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Datediff in SQL

977438Dec 1 2012 — edited Dec 3 2012
SELECT DATEDIFF(day,'2008-06-05','2008-08-05') AS DiffDate from dual is not working in SQL

ERROR :
ORA-00904: "DATEDIFF": invalid identifier
00904. 00000 - "%s: invalid identifier"
*Cause:
*Action:
Error at Line: 1 Column: 7

Regards
Santhosh M
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 31 2012
Added on Dec 1 2012
3 comments
6,514 views