An Oracle query has no FROM clause, which versions before 23 reject
What it finds
Oracle requires FROM in every query before version 23; SELECT 1 without FROM DUAL fails on the versions most systems run.
From the rule's source, select_without_from_oracle.rs.
Turn it on, off or suppress it
The rule runs from the recommended tier up. To turn it on in a lower tier, give it a level in tx0.toml:
[rules]
"tx0/sql:select-without-from-oracle" = "warning"To keep one finding, suppress it with a reason: tx0 suppress ID --reason "..." writes the comment for it.
tx0 explain tx0/sql:select-without-from-oracle shows the same in the terminal. Found a false positive? Report it.