![JAR search and dependency download from the Maven repository](/logo.png)
org.sonar.l10n.plsqlopen.rules.plsql.UnnecessaryLike.html Maven / Gradle / Ivy
The newest version!
Using a LIKE condition without a wildcard (% or _) is suspicious. A maintainer can suppose whether a wildcard is
forgotten or it is meant as equality test.
Noncompliant Code Example
if (last_name like 'Smith') ...
Compliant Solution
if (last_name like 'Smith%') ...
-- or
if (last_name = 'Smith') ...
© 2015 - 2025 Weber Informatics LLC | Privacy Policy