Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 transaction log

Author  Topic 

pmccann1
Posting Yak Master

107 Posts

Posted - 2006-10-05 : 06:20:58
how do i truncate the log

chiragkhabaria
Master Smack Fu Yak Hacker

1907 Posts

Posted - 2006-10-05 : 06:38:27
From Bol


Truncating the transaction log:

BACKUP LOG { database_name | @database_name_var }
{
[ WITH
{ NO_LOG | TRUNCATE_ONLY } ]
}




Chirag
Go to Top of Page

Kristen
Test

22859 Posts

Posted - 2006-10-05 : 13:21:31
Do you mean make it smaller / shrink it?

http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=55210&SearchTerms=Database%20Shrinking,Shrink,Shrinking

If you means BACKUP then:

http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=55210&SearchTerms=How%20Backup%20works,What%20type%20of%20backup%20should%20I%20use,Automating%20Backups,Backup

Kristen
Go to Top of Page
   

- Advertisement -