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
A strapped bundle of oak parquet blocks with a red band beside a jumbled heap of planks.

Parquet Exports From SQL Server 2022 With CETAS

November 10, 2021
Pinal Dave
SQL Tips and Tricks
Cloud Computing, File format, SQL Server, SQL Server 2022

Build Parquet exports from SQL Server 2022 with PolyBase CETAS, S3-compatible storage, and checks for rows, types, and files.

Read More
A walker on a birch woodland trail following red paint blazes, continuing through a stretch of trees with no marks.

IGNORE NULLS in SQL Server 2022: Carrying the Last Known Value Forward

November 8, 2021
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL NULL, SQL Server, SQL Server 2022

Use IGNORE NULLS for forward-filled readings, find the next known value, and compare the older running-count grouping method carefully.

Read More
Leeks trimmed at both ends on a chopping board, roots and tough tops in two small piles.

LTRIM and RTRIM With Custom Characters in SQL Server 2022

January 26, 2021
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Server, SQL Server 2022, SQL String

Use LTRIM and RTRIM with custom characters in SQL Server 2022, understand character sets, test TRIM directions, and preserve valid text.

Read More
A hand watering the one dry pot in a row of geraniums on a porch step, the other pots left alone

Skipping No-Op Updates: Changing Only Rows That Really Differ

December 16, 2019
Pinal Dave
SQL Tips and Tricks
SQL NULL, SQL Scripts, SQL Server, SQL Server 2022, SQL Trigger

Skip no-op updates with NULL-safe EXCEPT or IS DISTINCT FROM, inspect affected counts, and avoid unnecessary rowversion and trigger changes.

Read More
Parked cars along a curb seen from above with gaps between them, one wide enough for a car, one too short

Finding Free Time Slots in a Calendar With GENERATE_SERIES

January 12, 2019
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Function, SQL Server, SQL Server 2022

Find free time slots with GENERATE_SERIES, exclude overlapping bookings, and merge busy intervals before calculating calendar gaps.

Read More
Milk pouring into a whole row of glass bottles at once from a bar of spouts in a dairy

Tally Table: Replacing WHILE Loops With a Set of Numbers

June 22, 2018
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Server 2022, SQL String

Use a tally table or GENERATE_SERIES to replace repeated date, character, and missing-number loops with ordered sets of rows.

Read More
A lone walker on a hillside stairway beside a full funicular car climbing the same slope

Parameter Sensitive Plans: Reading Query Variants in Query Store

July 27, 2016
Pinal Dave
SQL Performance
Execution Plan, Parameter Sniffing, Query Store, SQL Server, SQL Server 2022

Inspect query variants and dispatcher plans in Query Store, compare skewed parameter values, and read the boundaries selecting each plan.

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

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