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
Two hands husking corn at a market stall, stripped husks heaped aside and clean cobs in a bowl.

Cleaning Currency Strings Into decimal Values

August 1, 2024
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Function, SQL Server, SQL String

Convert currency strings into decimal amounts using known symbols, explicit parsing cultures, conversion checks, and rejection evidence.

Read More
CHARINDEX

SQL SERVER – A Comparison of CHARINDEX vs LIKE

September 26, 2023
Pinal Dave
SQL Performance
SQL Function, SQL Performance, SQL String

In this post, we’ll explore a comparison between the use of CHARINDEX and LIKE in the WHERE clause, supported by real-world statistics.

Read More
A pear tree trained flat against a brick wall, a finger tracing one branch from the trunk to a single pear.

Materialized Path Hierarchies: Storing the Path as a String

August 28, 2023
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL String, SQL Table Operation

Build a materialized path hierarchy in T-SQL, query descendants, calculate depth, and move a subtree without creating cycles.

Read More
STRING-AGG-Function

SQL SERVER – STRING_AGG Function to Concatenate Strings

July 21, 2023
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL String

We were able to improve the performance of the query by using STRING_AGG Function to Concatenate Strings. Let us learn.

Read More
common table expression

SQL SERVER – Replacing a Cursor with a Common Table Expression

July 3, 2023
Pinal Dave
SQL Performance
CTE, SQL Cursor, SQL String

Let us learn today – How I was able to improve the query performance by replacing the cursor with a common table expression (CTE).

Read More
date null

SQL SERVER – CONVERT Empty String To Null DateTime

May 6, 2021
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Function, SQL NULL, SQL Scripts, SQL Server, SQL String

Let us learn today how to CONVERT Empty String To Null DateTime. While I focus on SQL Server Performance Health Check, let us learn about it today.

Read More
Case-Sensitive Search

Case-Sensitive Search – SQL in Sixty Seconds #158

March 16, 2021
Pinal Dave
SQL Video
SQL in Sixty Seconds, SQL Server, SQL String

Earlier I wrote a blog post about SQL SERVER – Case-Sensitive Search. Lots of people said I should make a video on this topic.

Read More
1 2 3 4 … 16 Next
  • Books
  • Testimonials
  • Privacy Policy

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