I have a table 'fddb' with 40 million rows. For better performance we thought of partitioning the table.It has clustered index on primary key column and an unique nonclustered index on four unique key columns. I had partitioned table with primarykey as partition column. But while creating unique nonclustered index on the columns it throwing me error like ''Partition columns for a unique index must be a subset of the index key.''

Is there any way to create unique nonclustered index on a partitioned table without including the ''Partition column ?