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 coconut scraper extracts white shreds from a shell into a ceramic bowl

Converting XML Documents to JSON With FOR JSON PATH

September 7, 2011
Pinal Dave
SQL Tips and Tricks
Database, SQL Scripts, SQL Server

A partner asks for JSON from your XML export. Build the nested shape, decide what an empty order looks like, and avoid the escaped-array surprise.

Read More
An unfinished clay cup sits beside a smooth finished cup on a potter's workbench.

What a Preview Build Is For, and What It Is Not

September 6, 2011
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Scripts, SQL Server

Use a SQL Server preview to test specific features and report reproducible issues while keeping production data and recovery paths separate.

Read More
A citrus reamer and two orange halves beside a basket of untouched whole oranges

AT TIME ZONE Cost: Converting Many Rows Without Burning CPU

September 5, 2011
Pinal Dave
SQL Tips and Tricks
SQL Performance, SQL Scripts, SQL Server

Converting a whole column with AT TIME ZONE looks harmless on three rows and hurts on a hundred thousand. Here is the cheaper way to filter a local day.

Read More
Rows of filled jam jars on a farmhouse table, one hand twisting on a lid, one jar at a time.

Scalar Functions and Performance

September 2, 2011
Pinal Dave
SQL Performance
Compatibility Level, Execution Plan, SQL Function, SQL Server, SQL Server 2019

Scalar functions can hide row-by-row work in SQL Server; learn when inlining helps, how to inspect eligibility, and when a set-based rewrite wins.

Read More
Several small plain brass locks beside one larger plain lock on a warm wooden tabletop.

What Lock Escalation Is and How to Stop It

September 1, 2011
Pinal Dave
SQL Performance
Best Practices, SQL Index, SQL Performance, SQL Server

Understand lock escalation, confirm it with evidence, and reduce its impact through smaller transactions, better access paths, and modern locking.

Read More
A cord passes through one reinforced brass opening in an intact canvas panel

EXECUTE AS OWNER in Stored Procedures: Power and Pitfalls

August 29, 2011
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Server Security

A procedure with owner rights can write to tables its caller cannot touch. Watch the identity change, and see how one careless parameter hands out too much.

Read More
SQL SERVER - Table Valued Functions - Day 26 of 35

SQL SERVER – Table Valued Functions – Day 26 of 35

August 26, 2011
Pinal Dave
SQL Tips and Tricks
Joes 2 Pros, SQL Function, SQL Scripts, SQL Server

Let us learn about table valued functions. Every day one winner from the United States will get Joes 2 Pros Volume 4.

Read More
Previous 1 … 312 313 314 315 316 317 318 … 420 Next
  • Books
  • Testimonials
  • Privacy Policy

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