Solved

How to configure Simple recovery model in SQL 7

Posted on 2004-04-02
3
604 Views
Last Modified: 2012-05-04
IN SQL2000, i can use simple recovery model to reduce transaction log. How to do in SQL 7?
0
Comment
Question by:cheng77
3 Comments
 
LVL 3

Accepted Solution

by:
ctcampbell earned 50 total points
ID: 10739203
From the Books Online on simple recovery in SQL Server 2000:

This model is similar to setting the "trunc. log on chkpt." database option in Microsoft® SQL Server™ version 7.0 or earlier.

trunc. log on chkpt.: When true, a checkpoint truncates the inactive part of the log when the database is in log truncate mode.


EXEC sp_dboption @dbname = 'database name',
    @optname = 'trunc. log on chkpt.',
    @optvalue = 'TRUE'

0
 

Author Comment

by:cheng77
ID: 10739240
i can succesfully run the command, but when back to the properties of the database. the truncation log size still not reduce
0
 
LVL 9

Expert Comment

by:auke_t
ID: 10739278
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Noob question:this site is sql vulns? 2 45
SQl help with selection 14 44
Extract XML Data from using TSQL 5 31
SQL JOIN 6 35
I wrote this interesting script that really help me find jobs or procedures when working in a huge environment. I could I have written it as a Procedure but then I would have to have it on each machine or have a link to a server-related search that …
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.
Viewers will learn how the fundamental information of how to create a table.

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now