You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This version of G-1050 describes the following exceptions:
Literals in logger calls
Literals in views
Literals that are used less than 3 times in a file
Number 2 and number 3 have been introduced after the release of version 4.2. After some consideration this rule is
a) too complicated and
b) not stringent.
For example, literals in views are okay, but not OK in SQL Scripts with insert statements? Additionally, the exclusion of views is based on some corner cases where a function wrapping a constant is leading to a bad execution plan.
To simplify the rule, let's state the following (replacing the last three paragraphs):
To avoid an extreme abundance of constants or false positives, a literal should not occur more than once within a file.
Furthermore the examples in the chapter "Language Usages" should simplified accordingly.
The text was updated successfully, but these errors were encountered:
This version of G-1050 describes the following exceptions:
Number 2 and number 3 have been introduced after the release of version 4.2. After some consideration this rule is
a) too complicated and
b) not stringent.
For example, literals in views are okay, but not OK in SQL Scripts with insert statements? Additionally, the exclusion of views is based on some corner cases where a function wrapping a constant is leading to a bad execution plan.
To simplify the rule, let's state the following (replacing the last three paragraphs):
Furthermore the examples in the chapter "Language Usages" should simplified accordingly.
The text was updated successfully, but these errors were encountered: