Errors on DBCC SHRINKFILE(2)
- From: "Scarab" <yw@xxxxxxxxxx>
- Date: Mon, 13 Feb 2006 11:30:22 +0800
Hi,
When I use dbcc shrinkfile to shrink LOG file, following error occurs:
DBCC SHRINKFILE(2)
----------------------------------------------------------------------------
-----------
Cannot shrink log file 2 (myDB_log) because all logical log files are in
use.
(1 row(s) affected)
I have only one transaction log file in my Database, who can tell me what't
the matter?
If my current log file is in use, how can I find who is using it and stop
using then do the shrink operation?
Thanks.
Scarab
.
- Follow-Ups:
- Re: Errors on DBCC SHRINKFILE(2)
- From: Scarab
- Re: Errors on DBCC SHRINKFILE(2)
- From: Dan Guzman
- Re: Errors on DBCC SHRINKFILE(2)
- Prev by Date: How training in my home ?
- Next by Date: Re: Errors on DBCC SHRINKFILE(2)
- Previous by thread: How training in my home ?
- Next by thread: Re: Errors on DBCC SHRINKFILE(2)
- Index(es):
Relevant Pages
|