ORA-00904: "FORMAT": invalid identifier

Posted by gary A.K.A. G4 on Stack Overflow See other posts from Stack Overflow or by gary A.K.A. G4
Published on 2010-04-26T17:58:49Z Indexed on 2010/04/26 18:03 UTC
Read the original article Hit count: 475

Filed under:
|
|

I am trying to format a date:

FORMAT(table.TCKT.TCKT_ISS_DATE, 'YYYY') AS TICKETYEAR

but I am getting the following error:

ORA-00904: "FORMAT": invalid identifier

Right now the date show the complete timestamp. Any suggestions on how to fix this problem, or any other way to format the date to just show the four digit year?

© Stack Overflow or respective owner

Related posts about sql

Related posts about query