SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 More Filegroup Questions
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

KrisLewis
Starting Member

USA
7 Posts

Posted - 04/17/2013 :  13:36:56  Show Profile  Reply with Quote
Does sql server automatically determine where your tables are stored to in filegroups? I heard that after some time this can happen is this true? I am asking this because I heard that "If you add an additional file to an existing file group, you have no control over what data SQL Server will put in the new file."

I also want to know how to move tables into filegroups from an existing database in production use. I am only finding information on how to do so on new tables.

russell
Pyro-ma-ni-yak

USA
5072 Posts

Posted - 04/17/2013 :  16:07:04  Show Profile  Visit russell's Homepage  Reply with Quote
You tell it where to put the tables

CREATE TABLE aTable (
...
) ON FileGroupName

To move an existing table, rebuild the clustered index ON FILEGROUPNAME

Edited by - russell on 04/17/2013 16:07:51
Go to Top of Page
  Previous Topic Topic Next Topic  
 New 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.03 seconds. Powered By: Snitz Forums 2000