Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

script rotate automatically sql server partition

Posted on 2014-04-14
2
261 Views
Last Modified: 2014-05-04
Hello,

I search a script rotate automatically sql server partition.

Thanks

Regards
0
Comment
Question by:bibi92
2 Comments
 
LVL 80

Expert Comment

by:David Johnson, CD, MVP
ID: 40001054
what do you mean by sql server partiton and what do you mean by rotate sql partiton
0
 
LVL 42

Accepted Solution

by:
EugeneZ earned 500 total points
ID: 40001164
try to use sql server
switch Partition  ALTER TABLE SWITCH statement
more:
ALTER TABLE
http://msdn.microsoft.com/en-us/library/ms190273.aspx


see examples @
Partitioning… some tricks and hints to create the switch in and out table
http://blogs.msdn.com/b/wwerner1/archive/2013/04/16/partitioning-some-tricks-and-hints-to-create-the-switch-in-and-out-table.aspx
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Via a live example, show how to setup several different housekeeping processes for a SQL Server.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question