
Inline adoc files when they are included exactly once. Also fix language tags because this inlining gives us better information on what language the code is written in.
28 lines
606 B
Plaintext
28 lines
606 B
Plaintext
== Why is this an issue?
|
|
|
|
``++DISTINCT++`` operator causes the ``++SELECT++`` statement to avoid the SAP buffering and to read directly from the database and not from the buffer on the application server.
|
|
|
|
|
|
=== Noncompliant code example
|
|
|
|
[source,abap]
|
|
----
|
|
SELECT DISTINCT carrid
|
|
FROM spfli
|
|
INTO count
|
|
WHERE cityto = 'NEW YORK'.
|
|
----
|
|
|
|
ifdef::env-github,rspecator-view[]
|
|
|
|
'''
|
|
== Implementation Specification
|
|
(visible only on this page)
|
|
|
|
=== Message
|
|
|
|
Double check that usage of "DISTINCT" operator is required as it leads to bypass SAP buffering.
|
|
|
|
|
|
endif::env-github,rspecator-view[]
|