我有一个类型:
create or replace type employee FORCE as object (
id VARCHAR2(8),
code NUMBER(11) )
我正在尝试向该类型添加另一列,因此它将如下所示:
create or replace type employee FORCE as object (
id VARCHAR2(8),
code NUMBER(11),
date NUMBER(8) )
我收到一个错误:
ORA-22866: cannot replace a type with table dependents
22866. 00000 - "default character set is of varying width"
*Cause: A character `LOB` was defined but the default character
set is not fixed width.
*Action: Ensure that the character set is of fixed width before defining
character `LOBs`.
如何向此类型添加另一列?
有没有办法将新列添加到类型中,而不是删除所有使用此类型的表。有什么可以启用/禁用来完成此操作....因为在我的场景中删除这些表是不可能的...