Re: consolidating two data files into one.
From: Dan D. (DanD_at_discussions.microsoft.com)
Date: 08/30/04
- Next message: kishore: "Re: Error: 17968, Severity: 15, State: 1"
- Previous message: don: "is user dba"
- In reply to: Wayne Snyder: "Re: consolidating two data files into one."
- Next in thread: Wayne Snyder: "Re: consolidating two data files into one."
- Reply: Wayne Snyder: "Re: consolidating two data files into one."
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 30 Aug 2004 08:23:03 -0700
Thanks Wayne.
"Wayne Snyder" wrote:
> Kick people out of the database
> do a dbcc shrinkfile emptyfile on the one going away ( that moves data into
> the other file)
> then alter database prod drop file file2
>
> Backup everything first.
>
> --
> Wayne Snyder, MCDBA, SQL Server MVP
> Mariner, Charlotte, NC
> www.mariner-usa.com
> (Please respond only to the newsgroups.)
>
> I support the Professional Association of SQL Server (PASS) and it's
> community of SQL Server professionals.
> www.sqlpass.org
>
> "Dan D." <DanD@discussions.microsoft.com> wrote in message
> news:6A3DC97A-CBA1-496D-A1D7-2E7CB0B39837@microsoft.com...
> > Using SS2000. We have a database that has two data files of the same name
> but
> > in different folders. I want to move the database to a different drive. Is
> > there a way to combine the two data files into one?
> >
> > Thanks,
> > --
> > Dan D.
>
>
>
- Next message: kishore: "Re: Error: 17968, Severity: 15, State: 1"
- Previous message: don: "is user dba"
- In reply to: Wayne Snyder: "Re: consolidating two data files into one."
- Next in thread: Wayne Snyder: "Re: consolidating two data files into one."
- Reply: Wayne Snyder: "Re: consolidating two data files into one."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|