October 6, 2010 at 4:41 am
In SQL Server 2005 I used to
dump tran MyDatabaseName with no_log
DBCC SHRINKDATABASE ('MyDatabaseName')
This syntax does not work in SQL server 2008.
What is the correct syntax
Thanks
October 6, 2010 at 5:32 am
It is not a good practice to truncate transaction logs. Please read through this[/url]
Pradeep Adiga
Blog: sqldbadiaries.com
Twitter: @pradeepadiga
October 6, 2010 at 5:38 am
Please don't crosspost. It just wastes people's time and fragments replies.
No replies to this thread please. Direct replies to http://www.sqlservercentral.com/Forums/Topic999129-1550-1.aspx
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply