SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 Table partition sql 2008
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

bala012
Starting Member

4 Posts

Posted - 07/22/2013 :  15:11:28  Show Profile  Reply with Quote
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

Sweden
30282 Posts

Posted - 07/22/2013 :  15:26:18  Show Profile  Visit SwePeso's Homepage  Reply with Quote
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
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000