Oracle Rules
This section contains 1 rule(s) related to oracle.
Rule Summary
| Code | Name | Aliases | Fix Compatible |
|---|---|---|---|
| OR01 | oracle.empty_batch | - | ✅ |
OR01: oracle.empty_batch
Remove empty batches.
| Property | Value |
|---|---|
| Name | oracle.empty_batch |
| Groups | all, oracle |
| Auto-fixable | Yes ✅ |
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;
/