force drop of object-type in a create statement
657907Oct 23 2008 — edited Oct 23 2008Hello Everyone
We are about to upgrade our clients database with some ddl-scripts and in order not to worry about what object-types (nested tables) are new and which ones are old (where a drop is needed) I am looking for a way to do it all in one
CREATE OR REPLACE FORCE <type> AS OBJECT ( ... );
Anyhow, when a collection-type for this objects exists I am getting <em>ORA-02303: cannot drop or replace a type with type or table dependents</em>
I thought the FORCE option will just drop type and recreate it? I dont want to drop anything manually. The collection-type will be updated later with another script.
Thanks in advance