-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: mohbilal
Message 3 in Discussion
Hi,
<o:p></o:p>
You can reduce the size of the log file. All you have to do is Shrink your
database especially Log file (.ldf). You can do this by Enterprise
Manager->Database->Select the Database->All Tasks ->Shrink Database.
<o:p></o:p>
If you still want to control the size of the Log file, execute this
<o:p></o:p>
1. Go the SQL Query Analyser --> Select the Database<o:p></o:p>
2. Run this command --> sp_dboption 'DBName', 'trunc. log on chkpt.', true
<o:p></o:p>
(NOTE:DBName is the name of the database)<o:p></o:p>
3. Go to Enterprise Manager on the Database server.<o:p></o:p>
4. Right click on Database --> Select All Tasks ---> Select Shrink Database -->
Click on Files--> Select DBName_Log from the dropdown --> Check on 'Compress
Pages and then truncate free space from file' option and then click OK. Click
OK again. It will give a success message.<o:p></o:p>
5. Now check if the size of the transaction Log has reduced.<o:p></o:p>
Hope this will help you.
Regards,
Mohamed Bilal
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/BDOTNET/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you
received this message by mistake, please click the "Remove" link below. On the
pre-addressed e-mail message that opens, simply click "Send". Your e-mail
address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]