SQL Clone
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in

Do you work with data? You’ve always got options.

She's ready for the future. Are you?

In preparing for the SQLPeople event, I thought about the role, motivation, and techniques of a “knowledge worker” in today’s society.

I found Peter Drucker at the library. Drucker lived from 1909 to 2005 and was one of the original writers about… Read more

0 comments, 879 reads

Posted in LittleKendra on 15 April 2011

Andy Leonard’s great idea: SQLPeople events

Not too long ago, Andy Leonard (blog|twitter) dreamed up the idea to create the SQLPeople community. The community is forming around the stories and ideas of its members. The SQLPeople website shares stories.

I spoke at the first SQLPeople event!

And now SQLPeople events are… Read more

0 comments, 819 reads

Posted in LittleKendra on 13 April 2011

To Do: Win Great SQL Training and a Cruise

Wondering what to do when you get a break from work email today?

Make your opening move in a fun contest.

What’s to win?

The prize is tempting booty: Idera Software is giving away a free trip to SQLCruise Alaska. And not just part of the trip, it’s the full… Read more

0 comments, 1,718 reads

Posted in LittleKendra on 31 March 2011

I laughed, I cried, it was better than CATS: The Fast Track Data Warehouse 3.0 Reference Guide

Careful what you say about cats, lady.

You know what’s crazy?

A comprehensive, technical, well thought-out, and ENJOYABLE document. One written with the occasional interesting diagram and a reasonable use of acronyms, with effective tables and practical advice. A document that’s written for a human being which has helpful links… Read more

0 comments, 1,597 reads

Posted in LittleKendra on 30 March 2011

Dynamic Management Quickie: Exploring SQL Server’s system views and functions as you work

There’s a lot of dynamic management and system objects to keep track of in SQL Server.

We all sometimes have the moment when we can’t remember exactly which DMV, DMF or other system view/function returns a particular column, or if something even IS accessible from the system objects.

When this… Read more

2 comments, 1,265 reads

Posted in LittleKendra on 22 March 2011

How To: Automate Continuous SQLServer Activity with Stored Procedures and Powershell Jobs

The Goal

It’s often useful to be able to run a bunch of stored procedures in the background over a period of time against a test instance.

This can be nice for:

  • Demos and presentations.
  • Populating DMVs with data you can slice and dice.
  • Learning to use things like extended…

Read more

1 comments, 989 reads

Posted in LittleKendra on 2 March 2011

Internals Matter: Why You Should Check Your Page Verify Settings, and I Should Go to Masters Immersion Training (SQL Skills Contest Entry)

This post is about two things:

1) Your Page Verification Settings are Critical

You should confirm you are running with the correct page verification settings on your SQL Server databases. It’s very important, and I’ll show you why.

2) I Should Attend the Awesome SQLSkills Master Immersion Event – Internals…

Read more

2 comments, 1,133 reads

Posted in LittleKendra on 25 January 2011

Corrupting Databases for Dummies- Hex Editor Edition

Corruption is so ugly it gets a lolworm instead of a lolcat.

Let’s make one thing clear from the start:

This Post Tells You How To Corrupt a SQL Server Database with a Hex Editor in Gruesome Detail

And that’s all this post tells you. Not how to fix anything,… Read more

3 comments, 2,113 reads

Posted in LittleKendra on 24 January 2011

Read from the Right End of the Index: BACKWARD Scans

Optimizing queries is the most fun when you don’t need to add indexes. There’s nothing quite so nice as finding a way to make reading data faster, without slowing down writes or creating new data structures that need to be maintained.

Here’s one way you can use BACKWARD scans to… Read more

1 comments, 1,762 reads

Posted in LittleKendra on 21 January 2011

Date Rounding Tactics and the Tiny Devil of SMALLDATETIME

Tiny Devils

With every new year I think a little bit about time and dates. This posts looks a little more at that in TSQL.

Rounding Dates: Which way is best?

Sometimes in TSQL you need to round a datetime value to the precision of either a day, hour, minute,… Read more

7 comments, 2,138 reads

Posted in LittleKendra on 6 January 2011

Filling in Data Potholes Redux: Tally Tables vs CTEs

In A Previous Installment


… our heroine (that’s me) rediscovered CTEs, specifically in the recursive style. That was in my post “Filling in Data Potholes with Recursive CTEs.”

To recap: I was working on a problem with gaps in temporal data. The basic scenario was:

Imagine that…

Read more

1 comments, 1,030 reads

Posted in LittleKendra on 4 January 2011

Why I’m All For 24HOP Showcasing 24 Women Speakers

This is not the HOP you are looking for.

I’ve been thinking about the upcoming 24HOP event planned for March 15 and 16 which will showcase 24 women speakers. Karen Lopez (post | twitter), Jenn Stirrup (post | twitter), and Jen McCown (post | twitter Read more

0 comments, 891 reads

Posted in LittleKendra on 27 December 2010

Filling in Data Potholes with Recursive CTEs

Data: it can break your foot.

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.

In… Read more

0 comments, 1,073 reads

Posted in LittleKendra on 23 December 2010

The 9th Day of SQL: Things Aren't as Simple as They Seem

The 12 days of SQL

Brent Ozar (blogtwitter) had an idea: a group of people should blog about writing which they’ve loved this year by people in the SQL community. For each “day of SQL,” someone picks a blog which they thought was great and writes… Read more

0 comments, 658 reads

Posted in LittleKendra on 21 December 2010

Select * from dbo.FAIL: invalid metadata in views and user defined functions

This week a question on the Twitter #sqlhelp hash tag reminded me of a detail of SQL Server that I learned the hard way, but forgot to blog about. The question was:

SQLHelp in action

For those without images enabled (you anarchic luddites), that’s “Is there a good reason to… Read more

0 comments, 1,062 reads

Posted in LittleKendra on 16 December 2010

Introduction to Partitioning: Resources!

This past Saturday I presented my shiny new Introduction to SQL Server Partitioning session at SQL Saturday 61.

There were two separate sessions scheduled for partitioning that day, but the room was still full– thanks everyone for coming to learn about how, why, and when you might use this… Read more

0 comments, 621 reads

Posted in LittleKendra on 7 December 2010

TSQL Tuesday #11: Messages and the Clammy Seduction of the Print Statement

Note: Updated 10/28 based on conversation in the comments, and 12/10 with Denali info.

TSQL Tuesday #11: Misconceptions in SQL Server

This month’s #tsql2sDay is hosted by Sankar Reddy, and the topic is roughly, “Things you thought you knew, but didn’t.

For my entry, I’m picking a… Read more

0 comments, 939 reads

Posted in LittleKendra on 12 October 2010

Automation: Granting Read Perms for Developers

Yeah, you heard me.

Do you like to read?

“But Kendra, why would we want to grant developers read  permissions? And why would we automate  it? And at what point did you lose your mind?”

Well, Virginia, there may or may not be a Santa Claus, but there are a… Read more

0 comments, 866 reads

Posted in LittleKendra on 16 August 2010

Learning that Presenting is Worth Doing (T-SQL Tuesday #008: Gettin’ Schooled)

This month’s T-SQL Tuesday topic is hosted by Robert Davis and the topic is “How do you learn? How do you teach? What are you learning or teaching?”

Learning: If it’s Not Fun, You’re Doing It Wrong

Like many people, I’m an active learner. I learn by doing something– writing… Read more

0 comments, 1,202 reads

Posted in LittleKendra on 13 July 2010

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

Data Collection, Puppy Style

Update: Based on Bill Ramos’ comment below and a note on Twitter (thanks!!) I have added some more details which hopefully make the situation clearer.


When setting up data collection using the GUI, configuration failed halfway through setup. At the point  of failure I… Read more

2 comments, 1,421 reads

Posted in LittleKendra on 26 June 2010

Older posts