SQL Trace doesn't show the affected query when it fails due to incorrect syntax.
Instead, it shows the following message:
# ERROR QUERY: cursor_140018803720192_c23157.execute(''' < The error query is not traceable due to potential security reasons > ''')
SAP HANA, platform edition
sqltrace, sql, statement, syntax, placeholder, failure, invalid, traced, tracing, queries , KBA , HAN-DB-ENG , SAP HANA DB Engines , HAN-DB-SEC , SAP HANA Security & User Management , Problem
About this pageThis is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).
Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.