Viewing 13 posts - 1 through 13 (of 13 total)
SQL 2012 added a column "RecoveryUnitId" to the results of DBCC LogInfo.
Try this, tested on SQL 2005 and 2008, as well as 2012:
-- VLF = Virtual Log Fragments. Refers...
June 2, 2014 at 11:50 am
More details on the status of the databases, including database status, recovery model, log reuse status...
IF OBJECT_ID('tempdb.dbo.#stage') IS NOT NULL
DROP TABLE #stage ;
IF OBJECT_ID('tempdb.dbo.#results') IS NOT NULL
...
May 29, 2014 at 11:24 am
If you want to see more information than just the virtual log files count, you can include DBCC SQLPERF(logspace) and include the VLF counts like this. I prefer to...
May 29, 2014 at 10:52 am
Perry Whittle (5/8/2010)
I use FreeNAS and present the LUN's over iSCSI to the Windows 2008 cluster nodes. Check my tutorial at this link
for details of how to deploy a...
December 3, 2010 at 10:46 am
Here’s one solution:
(although you could use local security groups for the SSRS security "roles" you need, I tend to use Domain security groups instead. Either way, add users...
July 22, 2010 at 9:54 pm
paul-876346 (7/22/2010)
SELECT EmployeeID, Salary, RActive, CAM.ManagerName FROM...
July 22, 2010 at 8:54 pm
:exclamation: I should also caution you about the other way to look at this:
If you insert/update/delete TABLE variable rows inside a transaction, and subsequently rollback the work, the...
January 6, 2010 at 1:00 am
If, for some reason, you wanted to keep track of work regardless of the transaction state, you could use a table variable instead.
Table variables exist outside the scope...
January 5, 2010 at 11:51 pm
Nice script! Thanks for sharing, Jacques!
I made some mostly syntactical changes:
- can't assign default values to local variables in SQL 2005
- character case differences will break...
April 15, 2009 at 11:57 am
By default, we use a BINARY collation on my team. The TableInfo code has a few character case problems, which were easy to find and fix. Same goes...
March 23, 2009 at 10:17 am
Hot-Add memory on SQL server... startup with -h option.
One subtle yet vitally important thing to bear in mind is that, on the 32-bit platform you *must* be using AWE if...
August 14, 2007 at 11:20 pm
Don't forget that DTS packages don't necessarily need to be stored in the database.
You can save a DTS...
July 11, 2006 at 10:13 am
OK, so we know it can be done... how about a working example of full-text search of Office documents stored in SQL Server 2005 VARBINARY column?
July 11, 2006 at 9:26 am
Viewing 13 posts - 1 through 13 (of 13 total)