Yes. It's usually the log file. An easier way to accomplish this is to enter the following commands in Query Analyser.
 
Backup log DatabaseName with truncate_only
DBCC ShrinkFile(LogFileName, 0)
 
It is best to do this after you have done a full backup since you do not want to kill the tranasaction logs that you may need in an emergency to restore the database.
 

Varden Morris

 

J. Wray & Nephew Ltd. - Group I.S.

234 Spanish Town Road

Kingston 11, Jamaica, W.I.

 

Phone:  (876) - 923 - 6141 Ext. 2226
Fax:      (876) - 923 - 5372

Cell:      (876) - 3833566
Email:   [EMAIL PROTECTED]

            [EMAIL PROTECTED]              

 



Raul Llorente Peña/OPENSOLUTIONS <[EMAIL PROTECTED]> wrote:

Securely the most of increasing have been on Log file. Backup the BBDD, detach it, delete log file, and then reatach the data file. SQL will create a new, empty, very much smaller log file.

SQL have provided some shrink options, but they are often few effective.

Raúl Llorente Peña

Análisis, Desarrollo e Implementación en
Microsoft Bussiness Solutions-Axapta
OPEN SOLUTIONS


Sharing the knowledge on Axapta.

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Sharing the knowledge on Axapta.



Yahoo! Groups Links

Reply via email to