Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Truncate Logs and Error 1105
Message
De
04/06/1999 08:09:31
 
 
À
03/06/1999 16:16:30
Raymond Humphrys
Michigan Department of Community Health
Bath, Michigan, États-Unis
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Divers
Thread ID:
00226218
Message ID:
00226426
Vues:
25
If the error is that you're out of space in the transaction log you can truncate the log using:

DUMP TRANSACTION databasename WITH NO_LOG -- SQL 6.5/7.0

Or

BACKUP TRANSACTION databasename WITH NO_LOG -- SQL 7.0 Only

If no space is being freed, check to see if there's an open transaction:

DBCC OPENTRAN(databasename)

You will not be able to truncate the log past an open transaction.

HTH

-Mike
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform