Trivadis / plsql-and-sql-coding-guidelines

Trivadis PL/SQL & SQL Coding Guidelines

Home Page:https://trivadis.github.io/plsql-and-sql-coding-guidelines/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use 3 literals in the bad example of G-1050

PhilippSalvisberg opened this issue · comments

The guideline G-1050 suggests now that a literal should not be duplicated more than once.

To reduce the number of false positives, the number of occurrences of a literal should be less than 3.

As a result, we should change the bad example. It should use a literal at least 3 times.