Blogs

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

ORDER BY, OFFSET, and Fetch in TSQL

ORDER BY, OFFSET, and Fetch in TSQL

By Kendra Little on June 29, 2018 • 3 min read

My most recent Quizletter featured a quiz on ORDER BY in TSQL, complete with questions on the OFFSET and FETCH clauses which we got in SQL Server 2012.

One great thing about teaching TSQL School is that it reminds me of these cool options that can be easy to forget.

Continue reading

New Courses: Extended Events, Parallelism, Indexes, and More

New Courses: Extended Events, Parallelism, Indexes, and More

By Kendra Little on June 22, 2018 • 3 min read

It’s been a fun, busy spring and early summer. I have loads of new courses to share, and great stuff is coming up soon!

A big thank you to all the SQLWorkbooks members who attended live events, or posted your comments and questions! Your questions are terrific, and you’ve made these events so much fun.

Continue reading

AVG() in TSQL: Watch Your Data Types

AVG() in TSQL: Watch Your Data Types

By Kendra Little on June 21, 2018 • 4 min read

This week’s Quizletter featured a quiz on using the AVG() function in SQL Server.

I was inspired to write this quiz because I’ve been teaching “TSQL School” each week. When we covered aggregate functions, I remembered how tricksy AVG() can be.

Continue reading

Dear SQL DBA: Training Resources for SQL Newbies

Dear SQL DBA: Training Resources for SQL Newbies

By Kendra Little on June 14, 2018 • 1 min read

Category: dear-sql-dba

New to learning SQL Server? Get the scoop on free online resources to look up information, ask questions of community members, and learn SQL Server from the ground up.

Continue reading

Perks for My SQLPASS Summit Precon: Prevent Fake News in Your Data! Isolation Levels Demystified

Perks for My SQLPASS Summit Precon: Prevent Fake News in Your Data! Isolation Levels Demystified

By Kendra Little on June 12, 2018 • 3 min read

I’m proud, giddy, and just plain overly excited to be giving a pre conference session at the SQL PASS Summit in Seattle, Washington on November 5, 2018.

This is going to be a fun, demo-packed day which will teach you skills you can use throughout your career as a developer, database administrator, or data professional.

Continue reading

Two Free Sessions Next Week: Fighting Bad Data and Deadlocks

Two Free Sessions Next Week: Fighting Bad Data and Deadlocks

By Kendra Little on June 7, 2018 • 2 min read

I am excited and honored to be giving two free online sessions next week. Both events are sponsored by the fine folks over at Quest Software.

Why is That Data Wrong? How Choosing the Wrong Isolation Level Causes Bad Results

Tuesday, June 12, Noon Pacific 24 Hours of PASS, Sponsored by Quest Software

If you haven’t thought much about isolation levels in SQL Server, chances are your applications can return inconsistent data to your users: data that looks completely wrong. If your user re-runs their report or reloads their screen, the data may look right the second time… but after this happens, your customer feels that they can’t trust your data.

Continue reading