Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Partition Existing Table with Primary Key Clustered Index Expand / Collapse
Author
Message
Posted Thursday, September 19, 2013 3:22 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Friday, August 22, 2014 5:01 PM
Points: 3, Visits: 567
I have a table called Sales with primary key clustered index on SalesDate and OrderNumber. I would like to partition the table on SalesDate. How do I create/recreate the primary key and clustered of this existing table with partitioning?
Post #1496610
Posted Thursday, September 19, 2013 4:16 PM


SSC-Forever

SSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-Forever

Group: General Forum Members
Last Login: Today @ 3:52 PM
Points: 42,849, Visits: 35,978
First thing. Why are you partitioning? What's the goal here?


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

Post #1496641
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse