I would like to know if there is a service in SAP HANA that can receive an SQL query and return the results, preferably as JSON but any other text format would suffice.
An important detail is that the SQL query needs to be dynamic, as a different query can be sent with each request.
Ideally, it would be possible to expose this as an external service (Web service or API) to be consumed from outside the SAP environment.