rspec/rules/S1139/abap/rule.adoc

14 lines
319 B
Plaintext
Raw Normal View History

2020-12-23 14:59:06 +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.
----