This month's discount Comprehensive Database Performance Health Check · Testimonials
SQLAuthority with Pinal Dave
Home
  • Consulting
    • Health Check
  • Free Videos
  • All Articles
    • AI
    • SQL Performance
    • SQL Tips and Tricks
    • Interview Questions and Answers
    • SQL Puzzle
    • SQL Video
    • SQLAuthority News
    • Personal
  • Books
  • Consulting
Sql query editor displaying variable.

SQL SERVER – Fix Error: Invalid object name STRING_SPLIT

May 3, 2018
Pinal Dave
SQL Tips and Tricks
Compatibility Level, SQL Error Messages, SQL Function, SQL Scripts, SQL Server, SQL String

A reader on SQL Server 2016 got Invalid object name STRING_SPLIT when trying the new function. Here is why the error shows up and how to fix it.

Read More
Puzzle.

SQL SERVER – Puzzle – Get the First Name From Full Name Without CHARINDEX

February 21, 2018
Pinal Dave
SQL Puzzle
SQL Function, SQL Scripts, SQL Server, SQL String

A puzzle from a health check: get the first name from full name without CHARINDEX. Here is the sample table and data, so you can try your own answer.

Read More
Remove leading and trailing spaces.

SQL SERVER – 2017 – How to Remove Leading and Trailing Spaces with TRIM Function?

January 10, 2018
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL Server, SQL String

TRIM finally arrived in SQL Server 2017. Here is how to remove leading and trailing spaces with the new TRIM function, in a few simple words.

Read More
Convert Decimal to Time Format in String.

SQL SERVER – Convert Decimal to Time Format in String

September 13, 2017
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL DateTime, SQL Function, SQL Scripts, SQL Server, SQL String

A very strange question I received the other day in an email about how to convert decimal to time format string.

Read More
Removing duplicate chars from string.

SQL SERVER – Remove Duplicate Chars From String – Part 2

September 11, 2017
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL Server, SQL String

My earlier UDF used a WHILE loop to remove duplicate characters. Here is another way to Remove Duplicate chars from a string using a tally number table.

Read More
How to Insert Line Break in SQL Server String?

How to Insert Line Break in SQL Server String? – Interview Question of the Week #139

September 10, 2017
Pinal Dave
SQL Interview Questions and Answers
SQL Function, SQL Scripts, SQL Server, SQL String

How do you insert a Line Break in a SQL Server string? Just press Enter inside the string, and switch SSMS results to text to see it. Here is how it works.

Read More
SQL SERVER - Understanding JSON Use is Case-Sensitive

SQL SERVER – Understanding JSON Use is Case-Sensitive

January 19, 2017
Pinal Dave
SQL Tips and Tricks
JSON, SQL Scripts, SQL Server, SQL String

My daughter explores every new toy, and that is how I play with JSON in SQL Server 2016. One surprise: JSON paths are case-sensitive, as this example shows.

Read More
Previous 1 2 3 4 5 6 7 8 … 12 Next
  • Books
  • Testimonials
  • Privacy Policy

© 2006 – 2026 All rights reserved. pinal @ SQLAuthority.com