Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 Table partition sql 2008

Author  Topic 

bala012
Starting Member

4 Posts

Posted - 2013-07-22 : 15:11:28
Hi,

I am new for table partition so please help me to choose right key for cluster index.

example:

Table (colA,colB,colc,.....)

Colc : my partition function is on colc (which is not unique)


(cola,colb) --- unique non clustered index, this columns are used mostly in my company for querying data.


My question:

Can i use [ColA,ColB,Colc(partition key)] these columns as unique composite clustered index to make advantage of partition key or there is any suggestions

Please reply @ sql.lanka@gmail.com



SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2013-07-22 : 15:26:18
The partitioning column should be included in the clustered index.



Microsoft SQL Server MVP, MCT, MCSE, MCSA, MCP, MCITP, MCTS, MCDBA
Go to Top of Page
   

- Advertisement -