Re: Log File
From: Hari Prasad (hari_prasad_k_at_hotmail.com)
Date: 07/08/04
- Next message: Hari Prasad: "Re: Check log"
- Previous message: Vishal Parkar: "Re: How to determine the last access date of a DB?"
- In reply to: Diane Walker: "Log File"
- Next in thread: Diane Walker: "Re: Log File"
- Reply: Diane Walker: "Re: Log File"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 8 Jul 2004 05:43:00 +0530
Hi,
Login to SQL server using Query Analyzer:-
sp_detach_db <dbname>
-- this will detach the database from sql server, so move the LDF file to
new location using windows explorer. After this execute
sp_atatch_db <dbname>,'MDF_file_wth_path','LDF_file_with_NEW_path'
Thanks
Hari
MCDBA
"Diane Walker" <ett9300@yahoo.com> wrote in message
news:ea$DRjGZEHA.3664@TK2MSFTNGP12.phx.gbl...
> We are running SQL 2000 Enterprise Edition. How do I setup the log file
to
> go to a different partition? Thanks.
>
>
- Next message: Hari Prasad: "Re: Check log"
- Previous message: Vishal Parkar: "Re: How to determine the last access date of a DB?"
- In reply to: Diane Walker: "Log File"
- Next in thread: Diane Walker: "Re: Log File"
- Reply: Diane Walker: "Re: Log File"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|