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
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 How to truncate transaction log explicit using T-SQL?

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2002-08-01 : 08:36:52
Andy writes "I just know backup the database will truncate the transaction log but how to truncate transaction log explicit by using T-SQL?"

robvolk
Most Valuable Yak

15732 Posts

Posted - 2002-08-01 : 08:37:32
BACKUP LOG myDatabase WITH NO_LOG

All of the options for backing up/truncating the log are described in Books Online.

Go to Top of Page
   

- Advertisement -