Re: HELP!!

From: Jasper Smith (jasper_smith9_at_hotmail.com)
Date: 04/14/04


Date: Wed, 14 Apr 2004 19:21:49 +0100

You can use DBCC SHRINKFILE. See BOL for syntax plus look at

INF: Shrinking the Transaction Log in SQL Server 2000 with DBCC SHRINKFILE
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q272318

INF: Causes of SQL Transaction Log Filling Up
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q110139

INF: Transaction Log Grows Unexpectedly or Becomes Full on SQL Server
http://support.microsoft.com/default.aspx?scid=kb;EN-US;317375

-- 
HTH
Jasper Smith (SQL Server MVP)
I support PASS - the definitive, global
community for SQL Server professionals -
http://www.sqlpass.org
"DAVE" <anonymous@discussions.microsoft.com> wrote in message
news:64DAA4E3-173F-43B6-A12A-104336227E8A@microsoft.com...
> how do i reduce the size of an mdf and ldf file in sql server2000. they
have grown to the point of locking up my machine


Relevant Pages

  • Re: Assigned Space
    ... How to Shrink the SQL Server 7.0 Transaction Log ... INF: Shrinking the Transaction Log in SQL Server 2000 with DBCC SHRINKFILE ...
    (microsoft.public.sqlserver.server)
  • Re: transaction logfile very large, how to truncate?
    ... It sounds like you might be new to SQL Server. ... 'transaction log' for just the title only. ... The database data file is about 5 megs and the logfile> is 3000 megs. ... > I've tried runing commands like "dbcc shrinkfile" and "dbcc shrinkdatabase"> but without any progress. ...
    (microsoft.public.sqlserver.server)
  • Re: transaction logfile very large, how to truncate?
    ... It sounds like you might be new to SQL Server. ... 'transaction log' for just the title only. ... The database data file is about 5 megs and the logfile> is 3000 megs. ... > I've tried runing commands like "dbcc shrinkfile" and "dbcc shrinkdatabase"> but without any progress. ...
    (microsoft.public.sqlserver.programming)
  • Re: Cannot shrink database log
    ... INF: How to Shrink the SQL Server 7.0 Transaction Log ...
    (microsoft.public.sqlserver.server)
  • Re: Shrinking Minimum Space
    ... See dbcc shrinkfile in books on line ... Wayne Snyder, MCDBA, SQL Server MVP ... community of SQL Server professionals. ... > We created a database with 10 MB initial transaction log ...
    (microsoft.public.sqlserver.server)