SQL Server Performance

.Mdf datafile object move into .ndf file.

Discussion in 'SQL Server 2005 General DBA Questions' started by amitkumaradmin, Apr 28, 2007.

  1. amitkumaradmin New Member

    Hi,

    I just like to one thing. I created a table a1 on general database into general_data.mdf file. Is it possible? I can move that a1 table to same database into gene_data.ndf file.

    Thanks & Regards,
    Amit Kumar
    Mob.: 9873812005

    Amit Kumar
    Mob.: 9873812005

    Amit Kumar
    Mob.: 9873812005
  2. MohammedU New Member

    Yes, you can but you have to create .ndf file on to different file group (Secondary).

    You can't move the objects to different files within the same filegroup.


    MohammedU.
    Moderator
    SQL-Server-Performance.com

    All postings are provided “AS IS” with no warranties for accuracy.
  3. MohammedU New Member

    Forgot to mentioned...
    To move table from one filegroup to another....
    Create the clustered index on to different filegroup...


    MohammedU.
    Moderator
    SQL-Server-Performance.com

    All postings are provided “AS IS” with no warranties for accuracy.
  4. satya Moderator

Share This Page