rspec/rules/S1502/abap/rule.adoc

23 lines
491 B
Plaintext
Raw Normal View History

2021-04-28 16:49:39 +02:00
``++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.
2021-04-28 16:49:39 +02:00
== Noncompliant Code Example
2022-02-04 17:28:24 +01:00
[source,abap]
2021-04-28 16:49:39 +02:00
----
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[]