Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 15264

Removing ndf files

$
0
0

Hi All,

I have partitioned a table with 5 different NDF files.

Now, I need to repartition with a different column. How will I bring back all the ndf data to the PRIMARY filegroup?

DBCC SHRINKFILE ('ndf_file_name', EMPTYFILE) --> will this move to the primary file group or to any other filegroup?

Kindly guide.

Thanks

Pad


Viewing all articles
Browse latest Browse all 15264

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>