OBE - 15065 Syntax Error [message #622462] |
Tue, 26 August 2014 13:08  |
 |
new_oracle2011
Messages: 174 Registered: March 2011 Location: Qatar
|
Senior Member |
|
|
Hello Everyone,
I am getting this error in query builder of Oracle report 6i. Can anybody help me what is the error in the SQL below
SELECT TO_CHAR (CMF_YR) || '/' || TO_CHAR (CMF_NO) COM_NO_STR,
NO,
QTY,
PRICE,
VALUE,
LPO_TXF_DESC,
SYS_DT
FROM LPO_DETAILS
WHERE CMF_TCF_CD = :p_TCF_CD AND CMF_YR = :p_YR AND CMF_NO = :p_NO
ORDER BY NO
|
|
|
|
|
|
|
|
|
Re: OBE - 15065 Syntax Error [message #622489 is a reply to message #622488] |
Wed, 27 August 2014 01:24   |
 |
Littlefoot
Messages: 21823 Registered: June 2005 Location: Croatia, Europe
|
Senior Member Account Moderator |
|
|
I wouldn't know that, sorry.
Here's what you could try, though: as this is the only report that doesn't work, maybe it is malformed; therefore, forget about existing report. Create a new one. Run report wizard and - when prompted for SQL query - paste the one you posted in the first message in this topic. Display all fields, let the wizard create layout (ugly but don't mind that).
Finally, run the report. Does it work, or does it throw the same error again? If it works, save it and make it pretty (by relocating fields, modifying labels, resizing & adjusting frames, etc.). Test frequently (after every step you make), save regularly. Hopefully, you'll make it work. If not, I'm afraid I don't have any other ideas.
|
|
|
|