A bit of syntax that I can never remember off the top of my head! SQL 2005 ‘Transaction Log is Full on database xxx’
DBCC SHRINKFILE('dbname_log', 1)
BACKUP LOG dbname WITH TRUNCATE_ONLY DBCC SHRINKFILE('dbname_log', 1)
Related posts:
A bit of syntax that I can never remember off the top of my head! SQL 2005 ‘Transaction Log is Full on database xxx’
DBCC SHRINKFILE('dbname_log', 1)
BACKUP LOG dbname WITH TRUNCATE_ONLY DBCC SHRINKFILE('dbname_log', 1)
Related posts:
This entry was posted on August 31, 2010, 09:47 and is filed under SQL Server. You can follow any responses to this entry through RSS 2.0. You can leave a response, or trackback from your own site.
.net (85)
Accessibility (4)
Android Development (4)
Batch Scripting (5)
blogging (4)
C#.net (38)
Classic ASP (1)
Command Line (1)
Cross Browser Testing (1)
CSS (16)
design (5)
E-Commerce (2)
Email (2)
Entity Framework (1)
Flash (2)
GDC – Austin '09 (1)
HTML5 (14)
IIS (17)
iPhone (9)
Javascript (31)
jQuery (17)
KnockoutJS (5)
Linq (4)
Mac OS X (3)
MVC (5)
mySQL (5)
Networking (3)
nodejs (1)
Objective C (4)
OO Design (4)
php (8)
Powershell (1)
Processing (1)
Regex (3)
REST (2)
Security (1)
Sharepoint (1)
SQL Server (25)
Telerik SiteFinity CMS (2)
Test Driven Development (2)
Umbraco (3)
Uncategorized (4)
URL Rewriting (3)
vb (1)
VB.net (9)
VBScript (1)
Video (1)
Visual Studio (2)
WCF (7)
Web Services (10)
Web Standards (2)
WebGL (2)
Windows (7)
XHTML (6)
XML (5)
XNA Game Development (2)
XPath (3)
XSLT (1)
WP Cumulus Flash tag cloud by Roy Tanck and Luke Morton requires Flash Player 9 or better.
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| « Jan | ||||||
| 1 | 2 | 3 | 4 | 5 | ||
| 6 | 7 | 8 | 9 | 10 | 11 | 12 |
| 13 | 14 | 15 | 16 | 17 | 18 | 19 |
| 20 | 21 | 22 | 23 | 24 | 25 | 26 |
| 27 | 28 | 29 | ||||
Fusion theme by digitalnature | powered by WordPress
Entries (RSS) and Comments (RSS) ^