Hi experts,
can anyone please suggest me the solution for the below error
Query:
SELECT CAST(YEAR(JIVEMESSAGE."CD_Comp") AS char(4)) || '-' || CAST(MONTH(JIVEMESSAGE."CD_Comp") AS char(2)) AS "createdate"
JIVEMESSAGE is the table name
CD_Com is the column name
ERROR:
Could not execute 'SELECT CAST(YEAR(JIVEMESSAGE."CD_Comp") AS char(4)) || '-' || CAST(MONTH(JIVEMESSAGE."CD_Comp") AS ...'
SAP DBTech JDBC: [383]: invalid identifier: JIVEMESSAGE: line 1 col 18 (at pos 17)
Thanks
Naresh P