SAP Knowledge Base Article - Preview

3291369 - Database throwing SQL error - SAP Commerce Cloud

Symptom

You are running a SQL query and the system throws an error:

de.hybris.platform.servicelayer.search.exceptions.FlexibleSearchException: SQL search error - enable the property 'flexible.search.exception.show.query.details' for more

After you enable the property above, something like this is thrown:

SQL search error - Conversion failed when converting the nvarchar value 'NNNNN ' to data type int. query = 'SELECT ... FROM ... item_t0 WHERE ( item_t0.xxx = ? AND CAST( item_t0.xxx AS INT) <= ? AND CAST( item_t0.xxx AS INT) >= ?) AND (item_t0.TypePkString=? )',


Read more...

Environment

SAP Commerce Cloud in the Public Cloud

Keywords

KBA , CEC-SCC-PLA-PL , Platform , CEC-COM-CPS-COR , SAP Commerce Core , 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.