Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 Datafiles

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2004-01-26 : 07:21:54
Rich writes "Hi

I'd like to know whether it is possible to do the following:

Move data from one datafile to anther datafile within the same database.

Delete the 'now' empty datafile.

Have had good search around and so far not turned anything up ?

Many thanks

Rich"

raymondpeacock
Constraint Violating Yak Guru

367 Posts

Posted - 2004-01-26 : 07:29:57
Check out DBCCC SHRINKFILE with the EMPTYFILE option in BOL.


Raymond
Go to Top of Page
   

- Advertisement -