Skip to content

Oracle Rules

This section contains 1 rule(s) related to oracle.

Rule Summary

CodeNameAliasesFix Compatible
OR01oracle.empty_batch-

OR01: oracle.empty_batch

Remove empty batches.

PropertyValue
Nameoracle.empty_batch
Groupsall, oracle
Auto-fixableYes ✅

Anti-pattern

Empty batches (containing only / statements) should be removed.

sql
SELECT 1 FROM DUAL;

/

/

Best practice

Remove empty batches.

sql
SELECT 1 FROM DUAL;

/

Released under the MIT License.