Oracle Add Existence Checks Setting (Preview)

Description

Adds existence checks to scripts to improve their ability to be re-run multiple times without encountering 'already exists' errors.

When this option is active the script will include an existence check before attempting to create or drop an object.

The following objects are supported:

  • Functions
  • Indexes
  • Jobs
  • Materialized views
  • Materialized view logs
  • Packages
  • Procedures
  • Queues
  • Queue tables
  • Schedules
  • Sequences
  • Synonyms
  • Tables
  • Table columns
  • Triggers
  • Types
  • Views

Type

Boolean

Default

false

Usage

Flyway Desktop

This can be set from the comparison options settings in Oracle projects.

Command-line

./flyway generate -redgateCompare.oracle.options.behavior.objectExistenceChecks=true

TOML Configuration File

[redgateCompare.oracle.options.behavior]
objectExistenceChecks = true

This documentation contains proprietary information and is protected by copyright law.
Copyright © 2026 Red Gate Software Limited. All rights reserved


Didn't find what you were looking for?