SAP Knowledge Base Article - Preview

3800771 - single-row query returns more than one row

Symptom

An error occurs when accessing the CDS view: "single-row query returns more than one row" (SQLCODE 305).
If the CHECK_JOIN_CARDINALITY hint is added to the problematic query, the query fails with an error message similar to the following:
SAP DBTech JDBC: [256]: sql processing error: Join cardinality info is incorrect, bid: n...


Read more...

Environment

  • SAP HANA, platform edition 1.0
  • SAP HANA, platform edition 2.0

Keywords

SQL code 305, rcSQL=305, Database returned the SQL code 305. , KBA , HAN-DB , SAP HANA Database , Problem

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.