My Oracle Support Banner

23c New Feature - IF [NOT] EXISTS Syntax (Doc ID 3002402.1)

Last updated on FEBRUARY 06, 2024

Applies to:

Oracle Database - Enterprise Edition - Version Beta 23c and later
Oracle Database - Standard Edition - Version Beta 23c and later
Information in this document applies to any platform.


Oracle Database supports IF EXISTS or IF NOT EXISTS in DDL statements that create, modify, and delete objects from 23c.
This allows to control the occurrence of an error when a particular object exists/does not exist.
You can expect this syntax to simplify error handling in scripts and applications.

This document has a use case example of the new 23c feature "IF [NOT] EXISTS Syntax".

For more details, see document:

Oracle Database Release 23
Oracle Database New Features
2 Application Development
IF [NOT] EXISTS Syntax Support



To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.