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
Gouache painting of a table with wooden pegs joined by thin threads and one vermilion peg at the centre

MATCH Clause in SQL Server Graph Tables: Query Relationships

October 25, 2023
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server 2017, SQL Server 2019

The MATCH clause finds rows in SQL Server graph tables by describing the path between them. The small graph runs one hop, two hops, a shared skill and a SHORTEST_PATH query, compares the plain join, and shows what the MATCH clause does not allow.

Read More
pivotunpivot

SQL SERVER – Exploring PIVOT and UNPIVOT

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

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

Read More
WHERE Clause

Function in the WHERE Clause – SQL in Sixty Seconds 201

October 23, 2023
Pinal Dave
SQL Video
SQL Function, SQL in Sixty Seconds, SQL Index

Few even asked me to build a video on this topic. Hence, I decided to make a Function in the WHERE Clause – SQL in Sixty Seconds 201.

Read More
Securely storing passwords.

SQL SERVER – Best Practices for Securely Storing Passwords

October 20, 2023
Pinal Dave
SQL Tips and Tricks
SQL Password, SQL Server Security

This post will explore industry-standard techniques to securely store passwords. Let us learn about Best Practices for Securely Storing Passwords.

Read More
secure passwords

SQL SERVER – Generating Secure Passwords

October 19, 2023
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Password, SQL Server Security

We’ll explore industry guidelines for complex passwords and implement them in an SQL Server stored procedure to generate secure passwords.

Read More
A gatehouse window with the shutter half down and a red lamp inside

SQL SERVER – Login Experience with DEFAULT_DATABASE and MUST_CHANGE

October 18, 2023
Pinal Dave
SQL Tips and Tricks
SQL Login, SQL Server Security

DEFAULT_DATABASE and MUST_CHANGE shape the login experience. Tested on SQL Server 2025: the syntax that fails, and how the two lock a user out.

Read More
Index Operations

SQL SERVER – Ins and Outs of Online Index Operations

October 17, 2023
Pinal Dave
SQL Tips and Tricks
Clustered Index, SQL Index

I recently talked about Ins and Outs of Online Index Operations with my clients during the Comprehensive Database Performance Health Check.

Read More
Compatibility Level

SQL SERVER 2022 – Oldest Compatibility Level Supported

October 16, 2023
Pinal Dave
SQL Tips and Tricks
Compatibility Level

What is the oldest compatibility level supported by SQL Server 2022? It goes back to SQL Server 2005, and here is why that backward compatibility matters.

Read More
Gouache painting: a row of wooden crates of graduated widths along a barn wall, a chute pouring mangoes into the first and widest crate, one crate painted vermilion

Data Binning in T-SQL: Fixed Width, NTILE, CASE, DATE_BUCKET

October 13, 2023
Pinal Dave
SQL Tips and Tricks
Ranking Functions, SQL CASE, SQL DateTime, SQL Group By, SQL Scripts

Data binning turns a column of numbers into a few groups you can count and chart. This post runs four T-SQL methods on the same orders on SQL Server 2025: fixed width, NTILE, CASE ranges and DATE_BUCKET. It shows what each method tells you and one trap with BETWEEN.

Read More
Five wooden trugs of carrots sorted by length at the end of a vegetable bed, heaped to different heights.

Histogram Buckets in T-SQL: Counting Values per Range

October 12, 2023
Pinal Dave
SQL Tips and Tricks
Data Visualization, SQL Joins, SQL Scripts, SQL Server

Create histogram buckets in T-SQL with fixed widths or explicit ranges, retain empty buckets, and display scaled text bars.

Read More
Previous 1 … 15 16 17 18 19 20 21 … 590 Next
  • Books
  • Testimonials
  • Privacy Policy

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