|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Tuesday, February 19, 2013 9:07 AM
Points: 134,
Visits: 656
|
|
I have a table 'fddb' with 4 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.
|
|
|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Tuesday, February 19, 2013 9:07 AM
Points: 134,
Visits: 656
|
|
| Can anyone please suggest me a solution on the above problem
|
|
|
|
|
SSCommitted
      
Group: General Forum Members
Last Login: Yesterday @ 5:05 AM
Points: 1,618,
Visits: 20,899
|
|
|
|
|
|
SSC-Dedicated
           
Group: General Forum Members
Last Login: Today @ 3:31 PM
Points: 37,720,
Visits: 29,974
|
|
Adiga (8/2/2010)
One more cross-post. I have responded to your question here
That link points to a thread on XML by a different poster.
Gail Shaw Microsoft Certified Master: SQL Server 2008, MVP 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
|
|
|
|
|
SSCommitted
      
Group: General Forum Members
Last Login: Yesterday @ 5:05 AM
Points: 1,618,
Visits: 20,899
|
|
GilaMonster (8/2/2010)
Adiga (8/2/2010)
One more cross-post. I have responded to your question here That link points to a thread on XML by a different poster.
Sorry I posted it in the wrong forum.
Vamshi,
Please check if this article meets your requirement.
Pradeep Adiga Blog: sqldbadiaries.com Twitter: @pradeepadiga
|
|
|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Tuesday, February 19, 2013 9:07 AM
Points: 134,
Visits: 656
|
|
Hi Pradeep,
Thanks for your response.
|
|
|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Tuesday, February 19, 2013 9:07 AM
Points: 134,
Visits: 656
|
|
| Is there any other way other than using DML triggers?
|
|
|
|