1905319 - Global variable @@rowcount does not reflect the value of the last 'set rowcount <nn>' command in a stored procedure nor in the current batch - SAP ASE | SAP Knowledge Base Article

SAP Knowledge Base Article - Preview

1905319 - Global variable @@rowcount does not reflect the value of the last 'set rowcount <nn>' command in a stored procedure nor in the current batch - SAP ASE

Symptom

The value of global variable @@setrowcount doesn't always represent the value of the rowcount that was set via 'set rowcount xxx'.

In SAP ASE pre-15.7, this works correctly. In ASE 15.7, the returned value is inconsistent.


Read more...

Environment

SAP Adaptive Server Enterprise (ASE)  15.7

Product

SAP Adaptive Server Enterprise 15.7

Keywords

variable, global variable,@@rowcount , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , Bug Filed

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.