SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2012 Forums
 Transact-SQL (2012)
 DUMP A LOG FILE
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

wided
Posting Yak Master

201 Posts

Posted - 02/20/2014 :  11:51:40  Show Profile  Reply with Quote
Hello,

I have a database that has become enormous.

I trvaillé before with the old version of SQL and I used the command:

DUMP TRANSACTION WITH DBNAME no_log

Then I use the instruction

Shrink Database

With vesion 2008, I have not found the equivalent of instruction DUMP

I already posted this problem and told me that I should save the database with simple recovery. But I can not do this operation


Thank you for helping me.

James K
Flowing Fount of Yak Knowledge

3744 Posts

Posted - 02/20/2014 :  13:02:46  Show Profile  Reply with Quote
You have only two choices:

1. Change the recovery model to SIMPLE (which you said you cannot)

or

2. Backup the log file (and schedule regular log backups).

In either case, after you have done it, shrink the log file to some reasonable size.

Exact instructions to do either of these should be available if you google for it, but if you need more help, post back.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000