SAP Knowledge Base Article - Preview

1902457 - Cursor closes and produces error within a loop in SQL Anywhere


  • A cursor is opened and traversed with a loop
  • Performing an action based on the current row closes the cursor
  • FETCHes after the cursor is closed cause an error to occur



SQL Anywhere Server


SAP SQL Anywhere 16.0 ; SAP Sybase SQL Anywhere 12.0 ; Sybase SQL Anywhere 10.0 ; Sybase SQL Anywhere 11.0


KBA , BC-SYB-SQA , SQL Anywhere (on premise, on demand) , 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.