October 18, 2011 at 7:35 am
hi,
please tell me how can i do this i'm newbie
October 18, 2011 at 7:36 am
It's generally a bad idea and the wrong solution to the wrong problem.
So aside from the obvious than the log is taking more place than you want to, what is the probem?
Do you have scheduled full and tlog backups?
October 18, 2011 at 7:39 am
yes my transaction log gets full
so i need to take backup and truncate it
please give me sql script for that
October 18, 2011 at 7:40 am
Agree, not a good thing to do. Putting your DB into the full recovery model with both full & trans log backups should do the trick.
---
Note to developers:Want to get the best help? Click here https://www.sqlservercentral.com/articles/forum-etiquette-how-to-post-datacode-on-a-forum-to-get-the-best-help (Jeff Moden)
My blog: http://uksqldba.blogspot.com
Visit http://www.DerekColley.co.uk to find out more about me.
October 18, 2011 at 7:41 am
http://msdn.microsoft.com/en-us/library/ms186865.aspx
---
Note to developers:Want to get the best help? Click here https://www.sqlservercentral.com/articles/forum-etiquette-how-to-post-datacode-on-a-forum-to-get-the-best-help (Jeff Moden)
My blog: http://uksqldba.blogspot.com
Visit http://www.DerekColley.co.uk to find out more about me.
October 18, 2011 at 7:43 am
Take 30 minutes and read those 2 articles.
You'll understand exactly what's going on and how to fix it.
http://www.sqlservercentral.com/articles/64582/
http://www.sqlservercentral.com/articles/Transaction+Log/72488/
October 18, 2011 at 8:28 am
Ninja's_RGR'us (10/18/2011)
Take 30 minutes and read those 2 articles.You'll understand exactly what's going on and how to fix it.
http://www.sqlservercentral.com/articles/64582/
http://www.sqlservercentral.com/articles/Transaction+Log/72488/
Second vote for this.
Manage your log files, do not truncate them.
Viewing 7 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic. Login to reply