rspec/rules/S1502/abap/rule.adoc

25 lines
518 B
Plaintext

== Why is this an issue?
``++SQL COUNT(..), MIN(..), MAX(..), SUM(..), AVG(..)++`` aggregate functions cause the SAP table buffer to be bypassed, so the use of these functions can lead to performance issues.
=== Noncompliant code example
[source,abap]
----
SELECT COUNT(*)
FROM persons
INTO count
WHERE city = 'NEW YORK'.
----
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
include::message.adoc[]
endif::env-github,rspecator-view[]