JackW9653
asked on
Migrate .ndf into .mdf
Hello Experts,
Is there a way to migrate an .ndf file back into the .mdf. They are both in the same filegroup of course, and I rememeber reading somewhere this could be done. Any assistance is greatly appreciated even if its to tell me that it can't be done.
Thanks,
JackW
Is there a way to migrate an .ndf file back into the .mdf. They are both in the same filegroup of course, and I rememeber reading somewhere this could be done. Any assistance is greatly appreciated even if its to tell me that it can't be done.
Thanks,
JackW
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Search BOL for DBCC SHRINKFILE
ASKER
Thanks Kuki for your reply, after a closer examination of the database there are 3 filegroups. One is the Primary and the other 2 match the names of the .ndf files. I rewrote my restore script using With Recovery, Replace and specified the .ndf files using MOVE TO and that worked to get all the tables so i can view them.
Thanks again for your solution, that was the method I was trying to remember.
Thanks again for your solution, that was the method I was trying to remember.