Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

Truncate Log 7.0
Does anybody remember what the command is to "truncate the log" in Sql Serve
r
7.0.  I usually use dbcc shrinfile, but that doesn't work in 7.0.  It's been
several years since I had a 7.0 database and I just can't remember!

Report this thread to moderator Post Follow-up to this message
Old Post
CLM
10-31-05 04:23 PM


Re: Truncate Log 7.0
Hi,

2 Options:-

1. backup the transaction log using BACKUP LOG . This will clear the log
automatically

2. Truncate the log using Backup Log <DBname> with Truncate_only. This will
truncate the log.

After that if needed you can shrink the transaction log physical file using
DBCC SHRINKFILE.

Thanks
Hari
SQL Server MVP


"CLM" <CLM@discussions.microsoft.com> wrote in message
news:83B06319-C0F0-4F74-8D5E- 0A28B58DA10F@microso
ft.com...
> Does anybody remember what the command is to "truncate the log" in Sql
> Server
> 7.0.  I usually use dbcc shrinfile, but that doesn't work in 7.0.  It's
> been
> several years since I had a 7.0 database and I just can't remember!



Report this thread to moderator Post Follow-up to this message
Old Post
Hari Prasad
10-31-05 04:23 PM


Sponsored Links





Last Thread Next Thread
Post New Thread

MS SQL Server archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 03:37 PM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006