ORA-02303: cannot drop or replace a type with type or table dependents

后端 未结 4 1594
误落风尘
误落风尘 2021-02-07 13:15

I\'m newbee in oracle and I try to change varchar(50) to 250

CREATE OR REPLACE TYPE CEQ_OWNER.TY         


        
4条回答
  •  不要未来只要你来
    2021-02-07 13:37

    There are other types or tables that depend on the type you want to change. If it's a dependent type, then you can use the FORCE option to change the type.

    If it's a table that directly or indirectly uses the type, then you will need to create a new type and a new table, migrate all the data, and finally drop and rename tables and types.

    See this Oracle documentation for some further information.

提交回复
热议问题