Tsql-Programming

Category: tsql-programming

Msg 195: STRING_SPLIT Is Not a Recognized Built-In Function Name

Msg 195: STRING_SPLIT Is Not a Recognized Built-In Function Name

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.

Continue reading

Gotchas with Deferred Name Resolution in SQL Server: Stored Procedures, Synonyms, Views, and Functions

Gotchas with Deferred Name Resolution in SQL Server: Stored Procedures, Synonyms, Views, and Functions

Have you ever tried to create an object in SQL Server, but it failed due to a missing table, column, or other dependency? If so, you’ve hit a case where SQL Server doesn’t offer ‘deferred name resolution’.

Continue reading

Everything I Never Wanted to Know About Collation (14 minute video/podcast episode)

Everything I Never Wanted to Know About Collation (14 minute video/podcast episode)

By Kendra Little on July 16, 2020

I’m not an expert on collation in SQL Server, but there are a few important facts which I’ve had to learn the hard way. In this episode I share the basics, along with helpful resources to learn more.

Continue reading

New Free Course: The Dirty Secrets of NOLOCK

New Free Course: The Dirty Secrets of NOLOCK

I’m excited to begin moving over courses from SQL Workbooks and making the material available here. The first course up for grabs is The Dirty Secrets of NOLOCK.

Continue reading

Learn T-SQL for Free Online: Starting Today

Learn T-SQL for Free Online: Starting Today

T-SQL for Beginners course thumbnail

Thanks to the support of Redgate, I’ve launched a new course which teaches you the basics of T-SQL. The course is totally free, no logins required: we don’t even ask for the email address.

Check Out the Course on Redgate University

The course is here:

https://www.red-gate.com/hub/university/courses/t-sql/tsql-for-beginners

Each week has an embedded video for the course, along with a link to the syllabus and scripts. The videos also have a timeline in case you wish to jump to a particular part of the discussion.

Continue reading