SAP Knowledge Base Article - Preview

2056252 - select count(*) returns an inaccurate or negative value on very large tables

Symptom

While checking the total row count on very large tables, the resultant values is incorrect.

select count(*) from <table>  ==> where <table> contains more than 2 billion rows

This query returns a negative value or a bogus, very high, inaccurate value.


Read more...

Environment

  • SAP Adaptive Server Enterprise (ASE) 15.7 for Business Suite
  • SAP Adaptive Server Enterprise (ASE) 16.0 for Business Suite
  • SAP Adaptive Server Enterprise (ASE) 15.7
  • SAP Adaptive Server Enterprise (ASE) 16.0

Product

SAP ERP 6.0

Keywords

count, count_big, int, bigint, rowcount , KBA , BC-DB-SYB , SAP Business Suite on Sybase ASE Database Platform , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , Problem

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.