Database-Administration

Category: database-administration

Filling in Data Potholes with Recursive CTEs

Filling in Data Potholes with Recursive CTEs

on December 23, 2010

Tags: cte

Imagine that you are writing a script that looks at data grouped by the minute. You notice that there are no rows for some minutes, and you’d like to display a value when that is the case, probably showing a count of zero.

Continue reading

SQLPASS Day 1 and 2: Please Focus Your Attention on the Command Prompt

SQLPASS Day 1 and 2: Please Focus Your Attention on the Command Prompt

on November 10, 2010

A sign will be henceforth posted on my office door which reads: “PLEASE FOCUS YOUR ATTENTION ON THE COMMAND PROMPT.”

And I will always make sure to remember to be careful when working with the Engine of the Devil.

Continue reading

TSQL Tuesday #12: Why Are DBA Skills Necessary? Fido, Please Turn Your Head And Cough.

TSQL Tuesday #12: Why Are DBA Skills Necessary? Fido, Please Turn Your Head And Cough.

on November 2, 2010

Tags: tsql2sday

It’s sort of like Daylight Savings time for #TSQL2sday. Since PASS is next week and we’ll all be busy tweeting from the convention center instead of talking to one another face to face (or the opposite, take your pick), we’re blogging a week early.

This month’s topic is hosted by Paul Randal (blog | twitter), and the topic is “Why are DBA skills necessary?”

Continue reading

Error Configuring DataCollector: A collection set cannot start without a schedule

Error Configuring DataCollector: A collection set cannot start without a schedule

When setting up data collection using the GUI, configuration failed halfway through setup. At the point  of failure I found there were SQL Agent jobs for collections visible, but nothing appearing  in Management Studio under Management\Data Collection. The Data Collection icon still had the ‘off’ down red arrow. (I manually refreshed it for good measure to make sure.)

Continue reading

Change Data Capture vs Change Tracking

Change Data Capture vs Change Tracking

Here is a quick taxonomy of Change Data Capture and Change Tracking. I’m going to keep this short, but if you really want all the details, skip to the links at the bottom for complete information.

Continue reading

DBAs Needed on Microsoft Connect

DBAs Needed on Microsoft Connect

By Kendra Little on June 10, 2010

Update from Kendra (2018)** - Microsoft Connect has been retired. The current feedback system is here: https://feedback.azure.com/forums/908035-sql-server

Continue reading

SQL Server 2008/2008R2: My Favorite Feature

SQL Server 2008/2008R2: My Favorite Feature

1. My New Crush: PowerPivot

When it comes to R2, PowerPivot is the big charmer for me. It’s as much fun as my spiralizer, and that’s saying a lot. If you don’t know what a spiralizer is, it’s a magical little piece of plastic with a few blades that lets you turn a zuchinni into super long curly strands of veggie pasta, which makes it suddenly more than normal squash. You can also make curly fries, slice onions, and do all sorts of crazy cool things a normal person can’t make with an ordinary kitchen knife.

Continue reading