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
Three raised glasses waiting over a garden table while a fourth is still being filled

CXSYNC_PORT and CXSYNC_CONSUMER Waits in Parallel Queries

December 28, 2014
Pinal Dave
SQL Performance
MAXDOP, Parallel, SQL Server, SQL Server 2022, SQL Wait Stats

Investigate CXSYNC_PORT with session wait deltas, parallel plan exchanges and thread rows before testing a query-level MAXDOP change.

Read More
An open bento box with neat compartments, one holding a row of small rice balls, a red plum on the rice.

JSON_OBJECT and JSON_ARRAY: Building JSON in SQL Server 2022

March 30, 2014
Pinal Dave
SQL Tips and Tricks
JSON, SQL Function, SQL NULL, SQL Server, SQL Server 2022

Build JSON_OBJECT and JSON_ARRAY values in SQL Server 2022, control null handling, nest arrays, and compare rowset and aggregate output.

Read More
Four irons heating beside one small handkerchief on an ironing board, a hand unplugging the spare ones.

DOP Feedback: Letting SQL Server Lower Parallelism by Itself

January 27, 2014
Pinal Dave
SQL Performance
MAXDOP, Parallel, Query Store, SQL Performance, SQL Server 2022

Configure DOP feedback in SQL Server 2022, check Query Store evidence, and compare parallelism changes with your workload and MAXDOP limits.

Read More
One hand passing a small red-handled peeler to another, while a full knife block stays untouched behind.

Granular Server Roles: ##MS_ServerStateReader## and Friends

September 23, 2013
Pinal Dave
SQL Tips and Tricks
DBA, SQL DMV, SQL Login, SQL Server 2022, SQL Server Security

Assign granular server roles in SQL Server 2022, inspect membership, and give monitoring accounts the state access their queries need.

Read More
Two rows of lettuces, a red marker stick standing in the one empty gap.

IS DISTINCT FROM in SQL Server 2022: NULL-Safe Comparisons

August 3, 2013
Pinal Dave
SQL Tips and Tricks
SQL NULL, SQL Operator, SQL Server, SQL Server 2022

Use IS DISTINCT FROM for NULL-safe comparisons in SQL Server 2022, understand older workarounds, and inspect index seeks before changing code.

Read More
A swing-arm towel rail with some arms swung out holding towels and others folded flat, one red towel.

Bit Functions in SQL Server 2022: BIT_COUNT, GET_BIT and LEFT_SHIFT

June 19, 2013
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Operator, SQL Server, SQL Server 2022

Use BIT_COUNT and SQL Server 2022 bit functions to read, set, count, and shift flags, while choosing clear storage for ordinary settings.

Read More
Steel calipers gripping the widest of three turned wooden spindles on a workbench scattered with shavings.

GREATEST, LEAST and Other Small Helpers

June 10, 2013
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL NULL, SQL Server, SQL Server 2022

GREATEST, LEAST, and recent T-SQL helpers replace bulky CASE patterns while preserving explicit rules for NULL and data types.

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

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