Wrox Programmer Forums
|
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 27th, 2006, 11:51 PM
Registered User
 
Join Date: Feb 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Truncating Transaction Log

  Hi everyone. One of my friend told me that when the time expired error comes after a long time in a sql server connection it could be because of the huge Transaction log file of that particular database.
Can any one please tell me how do we truncate or minimize the size of the transaction log file of a database. SOme one please help me out with this one.

 
Old June 28th, 2006, 04:26 AM
Friend of Wrox
 
Join Date: May 2006
Posts: 246
Thanks: 0
Thanked 0 Times in 0 Posts
Default

If using ADO to connect and execute queries in SQL Server, have you checked the CommandTimeout property? Try to change to 300 seconds (5 minutes) or any other value that is larger than default value.

 
Old July 11th, 2006, 08:51 AM
Registered User
 
Join Date: Jul 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

http://msdn.microsoft.com/library/de..._dbcc_8b51.asp






Similar Threads
Thread Thread Starter Forum Replies Last Post
Transaction log carumuga SQL Server 2005 0 August 7th, 2008 05:38 AM
Transaction Log Error [email protected] SQL Server 2000 1 June 4th, 2008 09:26 PM
Truncating Transaction Log ninel SQL Server 2000 1 November 18th, 2006 01:26 PM
use of transaction log madhukp SQL Server 2000 1 July 16th, 2004 06:20 PM
Transaction Log ColdFusionRO SQL Server 2000 3 July 16th, 2003 01:47 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.