ORA-01769: duplicate CLUSTER option specifications
Cause: During a CREATE of a clustered table, the user attempted to specify more than one CLUSTER option.
Action: Remove the extra CLUSTER option.
ORA-01769错误是指在创建索引时,没有正确处理索引类型中指定的集群选项,可能是重复指定了集群选项,也可能由于SQL语句拼写错误导致集群选项缺失了或者重复使用了某个集群选项。
ORA-01769: duplicate CLUSTER option specifications
Cause: The CREATE INDEX statement contained two or more CLUSTER specifications.
Action: Specify one, and only one, CLUSTER clause in the CREATE INDEX statement.
1.索引建立时指定两个以上的CLUSTER选项:
CREATE INDEX idx_clu ON table1 CLUSTER CLUSTER1 CLUSTER 2;
2.在SQL语句中缺少CLUSTER选项:
CREATE INDEX idx_clu ON table1 CLUSTER2;
在创建索引时指定一个集群选项,可以使用以下SQL语句:
CREATE INDEX idx_clu ON table1 CLUSTER;