I am testing prepared statements from Eclipse SQL Console and using JDBC or Python HANA hdb connectors.
Here is one like example, works fine:
select top ? * from test.employees where emp_no > ?
Reading prepared statement paramter metadata description in HANA Command Network Protocol Specification, section 2.7.29 PARAMETERMETADATA, pg. 42, it seems that parameters can be also named, ie. parameter name can be supplied, so something like this should work:
select top #top * from test.employees where emp_no > #emp_number
Is it possible to specify parameter names in prepared statements and using which syntax ? I could not find any example.