Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to move objects to new filegroup

Status
Not open for further replies.
Jun 19, 2002
294
US
Is there an easy way in sql 2005 to move existing objects to a new filegroup? (I know you can use the create/move data/drop object or if there is a clustered index create the clustered index in the new filegroup but, we have a couple thousand tables alone to move)
 
Look up DBCC SHRINKFILE with the emptyfile option.

- Paul
- If at first you don't succeed, find out if the loser gets anything.
 
That only allows you to move data to another file in the same filegroup - I need to move all user objects to a new file group.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top