Originally Posted by PAVB
You have a table somehow partitioned by SAL column.
You have an composite index on columns (deptno,job) pointing to that partitioned table.
You are asking why you can't have an unique index on SAL column.
Did I get it right?
Now I'm assuming you are trying to build your unique index on SAL column as locally partitioned. Did I get it right?
If this is the case, the answer is "local unique indexes must contain all of the columns of the partition key."
You can always build a non-partitioned index on SAL column and define it as unique, no problem at all.