rspec/rules/S1139/abap/rule.adoc

23 lines
491 B
Plaintext
Raw Normal View History

2021-01-27 13:42:22 +01:00
``++DELETE FROM dbtab++`` without a ``++WHERE++`` condition deletes all the entries of the table. Check whether dataset to be deleted can be limited by a suitable WHERE condition.
2020-06-30 12:47:33 +02:00
== Noncompliant Code Example
----
DELETE FROM COUNTRIES.
----
== Compliant Solution
----
DELETE FROM COUNTRIES WHERE CODE = country_code.
----
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
include::../message.adoc[]
endif::env-github,rspecator-view[]