Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shrinking Log file
Message
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2014
Application:
Web
Divers
Thread ID:
01608796
Message ID:
01608866
Vues:
58
Recovery mode will actually change to Simple only after you perform database backup
>
>I keep copies of my customers' SQL Database on my computer; not as a back up. I want to reduce the LOG files for these databases to the minimum possible. I just want to be sure that my plan has no potential issues. My plan is as follows:
>1. set recovery mode for each one of these databases to Simple.
>2. issue command
>
>use [MyDatabase]
>go
>dbcc shrinkfile([MyDatabase_log.ldf],1)
>
>
>Anybody sees a potential problem? (as I said, I don't need to recover these databases to any point in the past).
>TIA
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform