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.
Author |
Topic |
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2006-05-11 : 08:17:53
|
Farman writes "My log file size is 2.19 GB I want to reduce the log file size?pls help me." |
|
nr
SQLTeam MVY
12543 Posts |
|
Kristen
Test
22859 Posts |
|
phanigopal
Starting Member
1 Post |
Posted - 2006-05-11 : 09:25:40
|
quote: Originally posted by AskSQLTeam Farman writes "My log file size is 2.19 GB I want to reduce the log file size?pls help me."
You can truncate the transaction log usingBACKUP LOG { database_name | @database_name_var } { [ WITH { TRUNCATE_ONLY } ] }and then issuing the dbcc commandDBCC SHRINKDATABASE (database name,target_percent,TRUNCATE ONLY) |
 |
|
|
|
|