Oracle doesn't have a `BEGIN` statement so the test would fail. Refs #23303 Backport of 54164b81 from master.