May 2025 Discount: Comprehensive Database Performance Health Check | Testimonials

Home
  • Consulting
  • Training
  • Free Videos
  • All Articles
    • Interview Questions and Answers
    • SQL Tips and Tricks
    • SQL Performance
    • SQL Puzzle
    • Big Data
    • Blog Stats
    • SQL Books
    • Search SQLAuthority
  • Downloads
  • Hire Me
  • Health Check
pivotunpivot

SQL SERVER – Exploring PIVOT and UNPIVOT

October 24, 2023
Pinal Dave
SQL Tips and Tricks
PIVOT, Query Rewrite, UNPIVOT

The SQL Server PIVOT and UNPIVOT operators are powerful tools that provide an easy way to transform your data in SQL.

Read More

The Intricacies of T-SQL String Comparison: LIKE VS ‘=’

October 4, 2023
Pinal Dave
SQL Performance
Query Rewrite, SQL Index, SQL Performance

Let us learn The Intricacies of T-SQL String Comparison. In SQL, the way you compare strings can greatly impact the results of your queries.

Read More
temptable

SQL SERVER – Performance: Optimizing High Volume OR Conditions through TempTable

October 2, 2023
Pinal Dave
SQL Performance
Query Rewrite, SQL Operator, Temp Table

We explore an alternative approach when dealing with high volumes of ‘OR’ conditions in our SQL queries: the use of a TempTable.

Read More
CHARINDEX

SQL SERVER – A Comparison of CHARINDEX vs LIKE

September 26, 2023
Pinal Dave
SQL Performance
Query Rewrite, SQL Function, 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
WHERE clause

SQL SERVER – Avoid Functions in the WHERE Clause for Performance

September 13, 2023
Pinal Dave
SQL Performance
Query Rewrite, SQL Function

Using SQL Server functions in the WHERE clause of your queries can significantly impact performance. Let us explore that in this blog post.

Read More
Efficient Query

How to Write Efficient Query? – Interview Question of the Week #300

November 1, 2020
Pinal Dave
SQL Interview Questions and Answers
Query Rewrite, SQL Milestone, SQL Server

Question: How to Write Efficient Query?

Answer: There is no right or wrong answer to this question. Let us learn about it today.

Read More
Efficient

SQL SERVER – Follow Up Question on Write Efficient Query

October 31, 2020
Pinal Dave
SQL Tips and Tricks
Query Rewrite, SQL Server

Earlier this week, I published a video Performance Challenge – Write Efficient Query – SQL in Sixty Seconds #140. The video got amazing feedback.

Read More
1 2 Next
  • SQL Interview Q & A
  • Testimonials
  • Search
  • Privacy Policy

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

Go to mobile version