SAP Knowledge Base Article - Preview

3457336 - how to find out the bind values for prepared statement

Symptom

You want to run a SQL  statement contains '?', this means the statement has bind values. 

You need to find out the bind values.

e.g. SQL statement like this:

SELECT * FROM "NRIV" WHERE "CLIENT" = ? AND "OBJECT" = ? AND "SUBOBJECT" = ? AND "NRRANGENR" = ? AND "TOYEAR" = ? FOR UPDATE

Image /data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.


Read more...

Environment

  • HANA database platform 1.0
  • HANA database platform 2.0

Product

SAP HANA 1.0, platform edition ; SAP HANA, platform edition 2.0

Keywords

'?', bind values,  PARAMETERS,  StatementHash, Statement Hash , KBA , HAN-DB , SAP HANA Database , HAN-DB-PERF , SAP HANA Database Performance , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.