Skip to main content

Useless parentheses around expressions should be removed to prevent any misunderstanding

ZPA rule for PL/SQL and Oracle SQL · UselessParenthesis

Useless parentheses can sometimes be misleading and so should be removed.

Examples​

Noncompliant Code Example
if ((a = b)) then ...
Compliant Solution
if (a = b) then ...