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

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 SQL Server 2012 Forums
 Transact-SQL (2012)
 Table Partitioning and Update date
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

1 Posts

Posted - 12/26/2013 :  11:51:18  Show Profile  Reply with Quote
I have a table partitioned and I want to be able to update data in a particular partition on a monthly basis but want to know the best way of going about it. Do I swap out the data into a stage table and then append the new data to the stage table and then swap the partition back into the live table? Or do I just insert into the existing partition in the live table?


Starting Member

12 Posts

Posted - 12/27/2013 :  04:47:08  Show Profile  Reply with Quote
The whole point of having partitions is that the database will maintain them, you just treat the table the same as you normally would, but it will optimise queries based on the partitions you have defined.
Go to Top of Page
  Previous Topic Topic Next 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.02 seconds. Powered By: Snitz Forums 2000