SAP Knowledge Base Article - Preview

2426204 - HANA DSI EXEC ERROR #151 with Msg 257 "Syntax error or access violation" - SRS


  • Replication to HANA database with High Volume Adaptive Replication (HVAR) enabled.
  • DSI EXEC failed with the following error: 

ERROR #151 DSI EXEC(184(1) HANADB.HANADB) - /generic/dsi/hqocs.c(4889)
     Bulk-Lib routine 'RCIPrepare' failed.
     Message: 257, State 0, Severity 5 -- '[ statement ][ HANADB] SQLPrepare [SAP AG][LIBODBCHDB SO][HDBODBC] 
     Syntax error or access violation;257 sql syntax error: line 1 col 388 (at pos 388)'.
     HQCPL: HQ execution exception occurred while applying to table [nil][nil]...



SAP Replication Server (SRS) 15.7.1 GA - SP303


SAP Replication Server 15.7


O2H, BULK INSERT, dsi_bulk_copy, dsi_compile_enable, CR798424, CR#798424, 798424, builtin, built-in, prefix, postfix, date, datetime , KBA , BC-SYB-REP , Sybase Replication Server (standalone) , Bug Filed

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.