Click here to monitor SSC
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase

how to create unique nonclustered index on partitioned table without including partition column Expand / Collapse
Posted Monday, August 2, 2010 6:49 AM


Group: General Forum Members
Last Login: Friday, September 13, 2013 5:03 AM
Points: 137, Visits: 661
Hi friends,

Anyone please suggest me on below problem:

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 ?
Post #962142
Posted Monday, August 2, 2010 7:38 AM



Group: General Forum Members
Last Login: 2 days ago @ 5:18 AM
Points: 45,619, Visits: 44,147
Please don't cross post. It just wastes peoples time and fragments replies.

No replies to this thread please. Direct replies to:

Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass

Post #962191
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse