question

Gogolo avatar image
Gogolo asked

Table partition dynamic Script

Can I have a simple dynamic script example for creating table partition, in order to have job execution of creating new partition each month? Reason is the large amount of data (any other solution is welcomed).
sql server 2008 r2table partition
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Grant Fritchey avatar image
Grant Fritchey answered
Brent Ozar has collected a pretty good [starter pack of resources][1] for table partitioning. I'd suggest starting there. [1]: http://www.brentozar.com/sql/table-partitioning-resources/
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.