文档解释
ORA-29853: keyword UNIQUE may not be used in creating domain indexes
Cause: An attempt was made to create a domain index with the UNIQUE attribute.
Action: Remove UNIQUE from the CREATE INDEX statement.
ORA-29853: 无效的索引类型:UNIQUE
官方解释
ORA-29853:指定的索引是无效的索引类型,例如尝试创建域索引时使用UNIQUE关键字。 UNIQUE关键字不能用于domain索引。
一个常见的案例是,当尝试使用新创建的类型:
create or replace type MyType as object(id number,name varchar2(30));
像这样,创建一个Domain Index:
create domain index tdx on MyTable(MyType.id unique);
就会报出ORA-29853:无效的索引类型UNIQUE的错误。
正常的处理方法及步骤:
1.查看是否使用了UNIQUE关键字,如果使用,就需要删除它。
2.重新进行创建索引的操作。
香港美国云服务器首选树叶云,2H2G首月10元开通。
树叶云(shuyeidc.com)提供简单好用,价格厚道的香港/美国云服务器和独立服务器。IDC+ISP+ICP资质。ARIN和APNIC会员。成熟技术团队15年行业经验。
文章来源网络,作者:运维,如若转载,请注明出处:https://shuyeidc.com/wp/264447.html<

