Symptom
A DBSQL_SQL_ERROR ABAP dump like this occurs:
----------------------------------------------------------------------------------------------------
|Short Text |
| SQL error "SQL code: 274" occurred while accessing table "TABLENAME_1". |
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
|What happened? |
| Database error text: "SQL message: inserted value too large for column: |
| TrexColumnUpdate failed on table 'SAPHANADB:TABLENAME_1' with error: |
TrexColumnUpdate failed on table 'SAPHANADB:TABLENAME_2' with
| error: AttributeEngine: indexed value not within specified range" |
----------------------------------------------------------------------------------------------------
The HANA indexserver trace shows an entry like this:
e table_update TableUpdate.cpp(04815) : execute_context() caught exception for table SAPHANADB:TABLENAME_1, rc=274: ERROR [SQL-274] inserted value too large for column: TrexColumnUpdate failed on table 'SAPHANADB:TABLENAME_2' with error: AttributeEngine: indexed value not within specified range;checkCesu8StringColumn(): max length (12) violated on pos 1135, value='0102201005018',column 'EMPID', table SAPHANADB:TABLENAME_2, rc=6959 at SQLUpdate/Storage/Impl/ColumnStorageChange.cc:102
TrexColumnUpdate failed on table SAPHANADB:TABLENAME_2' with error: AttributeEngine: indexed value not within specified range;checkCesu8StringColumn(): max length (12) violated on pos 1135, value='0102201005018',column 'EMPID', table SAPHANADB:TABLENAME_2, rc=6959
Read more...
Environment
SAP HANA 2.0
Product
Keywords
DBSQL_SQL_ERROR, SQL 274, inserted value too large for column, indexed value not within specified range, length mismatch, checkCesu8StringColumn(), AttributeEngine , KBA , HAN-DB-ENG , SAP HANA DB Engines , 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.
SAP Knowledge Base Article - Preview