Blogs

Msg 195: STRING_SPLIT is not a recognized built-in function name

Msg 195: STRING_SPLIT is not a recognized built-in function name

By Kendra Little on August 25, 2023

Yesterday, I was writing some Transact SQL to dust off the cobwebs. I got confused when I was playing around with the STRING_SPLIT function, and kept getting the error:

Msg 195, Level 15, State 10, Line 2 ‘STRING_SPLIT’ is not a recognized built-in function name.

I checked my database compatibility level, which must be 130 or higher for the function to be available. My database compatibility level was 160, so that was fine.

The issue? STRING_SPLIT is a table valued function. If your syntax uses it as a scalar function, you will still see a message that it doesn’t exist – but really the issue is that the function exists, but needs to be called with a different syntax.

Let’s look at some examples.

Continue reading

Dear SQL DBA - Performance Tuning with Erik Darling

Dear SQL DBA - Performance Tuning with Erik Darling

By Kendra Little on August 18, 2023

SQL Server performance tuning expert Erik Darling joins the podcast today to chat about how good queries can go bad and how bad queries can get better.

He also answers the question on everyone’s mind: if he was a database, what database would he be?

Continue reading

What to do when they are sure it was the database... all the time

What to do when they are sure it was the database... all the time

By Kendra Little on August 15, 2023

It can be tiring to have the database constantly be the Prime Suspect for performance problems.

There’s a right way and a wrong way to handle it.

Continue reading

Dear SQL DBA: Tech Interviews in 2023 With Jeremiah Peschka

Dear SQL DBA: Tech Interviews in 2023 With Jeremiah Peschka

By Kendra Little on August 11, 2023

Tech interviews are weird and wacky. How did they get this way, and how SHOULD they be? Jeremiah Peschka joins us to discuss.

Continue reading

Database Devops Core Concepts: Migration Scripts

Database Devops Core Concepts: Migration Scripts

By Kendra Little on August 9, 2023

Database migration scripts are a popular and effective way to check database code into version control.

In this post I describe the most common features of popular migration script runners for database code deployment, along with the top gotchas that folks hit when versioning their database code with migrations.

Continue reading

Dear SQL DBA -  Data Roles: DBA, DBRE, and Data Engineer

Dear SQL DBA - Data Roles: DBA, DBRE, and Data Engineer

By Kendra Little on August 4, 2023

There are lots of jobs for data folks. In this episode, I discuss three hot job titles: Database Administrator (DBA), Database Reliability Engineer (DBRE), and Data Engineer (DE).

Continue reading

Why not call Database DevOps simply DevOps?

Why not call Database DevOps simply DevOps?

By Kendra Little on July 28, 2023

Sometimes people are annoyed by the term ‘Database DevOps’. Why not call it simply ‘DevOps’? After all, Database DevOps follows the same core principles.

The answer is simple: implementing DevOps is tricky by itself, but most teams are set up to fail when it comes to implementing DevOps for databases. This makes it worth defining as a specialization.

Continue reading