Benchmark IT Consulting Rotating Header Image

Posts Tagged ‘Benchmark IT Consulting’

Hi I’m Policy Based Management… Remember me?

Microsoft released the SQL Server 2008 R2 Best Practices Analyzer last week and I’m not going to lie I was quite shocked.  I’ve yet to give it a test drive but the first thing that came to my head was… Why wouldn’t they just release a PSP? No not THAT kind of PSP…. PSP is [...]

Oracle for the SQL DBA… Part 1 of a bunch LOL

So i’ve been a bit quiet lately as things have been very crazy in my world… which is good cause that means I’m staying busy and out of trouble but I thought I would drop a quick horribly long blog about some of the stuff I’m working on right now.  One thing that seems to [...]

List All Statistics For a Column

Msg 5074, Level 16, State 1, Line 1 The statistics ‘StatName’ is dependent on column ‘ColumnName’. Msg 4922, Level 16, State 9, Line 1 ALTER TABLE DROP COLUMN ColumnName failed because one or more objects access this column. So what is a nice quick and easy way to list all the statistics that are dependant [...]

It’s Here!!!

My lovely wife Heather gave me a call and said… “Guess what I have in my hands?”  I had heard that Ken and Jorge received their author copies this week so I was very quick to guess it right Can’t wait to get home today and check it out… I have all the pdf page [...]

MAXRECURSION with a CTE in a View

So a minor “gotcha” here to start your day. If you’ve worked with CTEs before you’ve probably also worked with the MAXRECURSION option which specifies how many recursion levels deep to go before cancelling a statement. (Code below borrowed from: http://msdn.microsoft.com/en-us/library/ms175972.aspx) USE AdventureWorks; GO –Creates an infinite loop WITH cte (EmployeeID, ManagerID, Title) as ( [...]

Twitter links powered by Tweet This v1.6.1, a WordPress plugin for Twitter.