Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Optimizing deletion in batch
Message
From
02/01/2014 15:51:50
 
General information
Forum:
Microsoft SQL Server
Category:
Database management
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01591061
Message ID:
01591271
Views:
49
>We make maintenance plan to shrink log files.
>1. Backup Transaction logs
>2. Run Execute T-SQL Statement Task
>USE [yourDB]
>DBCC SHRINKFILE (N'yourDB_log' )

Yes, this is what I do in other environment. But, that clean the entire log to 1 MB. Is there a way to have a clean of the log and keep everything newer than 30 days?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform