Blogs

CROSS APPLY in T-SQL: Why to APPLY

CROSS APPLY in T-SQL: Why to APPLY

By Kendra Little on July 24, 2018 • 5 min read

Michelle asked a great question:

In your own words, why would one want to use a cross apply operator rather than a join operator? I’m old school, and I’m just not getting why a cross apply would be so much better to use than a join.

Continue reading

Dear SQL DBA: Why I Rarely Mention Service Broker

Dear SQL DBA: Why I Rarely Mention Service Broker

By Kendra Little on July 19, 2018 • 1 min read

I’ve gotten a few questions about whether I recommend learning Service Broker, and recently I was asked if I’m planning to make any courses on Service Broker.

About This Episode

In this 23 minute episode, I talk about why I personally haven’t become an expert with Broker, the factors that I believe play into Service Broker adoption, and other resources online for learning Service Broker in SQL Server.

Continue reading

The BREAK Keyword in Transact SQL

The BREAK Keyword in Transact SQL

By Kendra Little on July 16, 2018 • 3 min read

BREAK is a useful piece of control-of-flow language in SQL Server, but it only works in specific situations.

Continue reading

What the Microsoft MVP Award Means to Me in 2018

What the Microsoft MVP Award Means to Me in 2018

By Kendra Little on July 11, 2018 • 7 min read

Category: career

I recently received my seventh “Most Valuable Professional” award from Microsoft. Oddly, I don’t think I’ve ever written about what this award means to me until this point.

Continue reading

Using RETURN in Transact SQL: Quiz Results

Using RETURN in Transact SQL: Quiz Results

By Kendra Little on July 9, 2018 • 4 min read

RETURN is a “control of flow” language keyword in Transact-SQL. It’s very useful for managing when code does – and does NOT – get executed in procedural code, and it can also be used to communicate the status from procedural code.

But not everyone knows how to use RETURN, and learning about it can be awkward because of some quirks of SQL Server Management Studio. It is well worth taking the time to get used to it, though!

Continue reading

The Right to Be Erased is Coming to California, Along with Other Privacy Rights

The Right to Be Erased is Coming to California, Along with Other Privacy Rights

By Kendra Little on July 5, 2018 • 4 min read

Category: security

In the last year, developers and DBAs have heard a lot about the General Data Protection Regulation (GDPR) law passed by the European Union. These regulations not only impact companies that are incorporated in Europe, but all companies processing the data of Europeans.

Continue reading

Find the Scalar Function Call: What It Means When It Hides in Probe Residual

Find the Scalar Function Call: What It Means When It Hides in Probe Residual

User defined functions are fairly simple to create in SQL Server, but figuring out exactly how they are being used can take a little time - even in a simple execution plan. This is because the functions can be tucked away into lots of different operators in the plan, even join operators.

The good news: once you learn what to look for, it’s not terribly complicated. There are some fancy terms involved, but the definitions are pretty simple.

Continue reading