rspec/rules/S4054/description.adoc

3 lines
307 B
Plaintext
Raw Normal View History

2021-01-27 13:42:22 +01:00
Using ``++TOP++`` in a ``++SELECT++`` without ordering the results from which the "top" results are chosen will return a seemingly random set of rows, and is surely a mistake.
The same random behavior also occurs when using ``++TOP++`` in a ``++DELETE++``, ``++INSERT++``, ``++UPDATE++`` and ``++MERGE++``.