My Oracle Support Banner

RDBPROD: How to conditionally execute an ALTER TABLE statement (Doc ID 1987954.1)

Last updated on APRIL 16, 2024

Applies to:

Oracle Rdb Server on OpenVMS - Version 7.1 and later
HP OpenVMS Itanium
HP OpenVMS Alpha

Goal

A number of copies of a database contain a table that may have been altered in some cases to include a new column. Using Interactive SQL, is it possible to check the table in a database and add a column to those versions that do not already have the new column defined? 

Solution

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
Goal
Solution

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