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 fixed rail guides a cart along a winding route despite a shorter path

How to Force Index on a SQL Server Query? – Interview Question of the Week #281

June 14, 2020
Pinal Dave
SQL Interview Questions and Answers
Clustered Index, Query Hint, SQL Index, SQL Scripts, SQL Server

Question: How to Force Index on a SQL Server Query?
Answer: I personally do not like to force an index on any query. Let us learn together.

Read More
Hands arranging a bento box with rice and a row of small matching dishes inside, its lid beside it

Shaping Query Results as JSON With FOR JSON PATH

June 13, 2020
Pinal Dave
SQL Tips and Tricks
JSON, SQL Scripts, SQL Server

Shape FOR JSON PATH output with nested objects, child arrays, null options, and wrappers, then return one complete JSON value to clients.

Read More
A long-jump pit with a vermilion flag at last year's best mark and a fresh landing print just past it.

Year-Over-Year Comparisons in One Query

June 11, 2020
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Function, SQL Joins, SQL Reports, SQL Server

Build year-over-year monthly comparisons with a complete calendar, LAG, date-aligned joins, safe percentages, and missing-period rules.

Read More
Gouache painting of a flower shop with an open door and a cart of vermilion tulip crates outside

QDS_LOADDB Wait: Slow Startup and Query Store Load

June 10, 2020
Pinal Dave
SQL Performance
Query Store, SQL Server, SQL Wait Stats

A QDS_LOADDB wait means a database waits for Query Store to load its data at startup. This post reads the wait, checks the size of a store, explains the trace flag that loads Query Store asynchronously, and shows the settings that keep a store small.

Read More
Several pairs of muddy boots show visitors arriving at the same doorway

How to Find IP Address of All SQL Server Connection? – Interview Question of the Week #280

June 7, 2020
Pinal Dave
SQL Tips and Tricks
Computer Network, SQL DMV, SQL Scripts, SQL Server

Question: How to Find the IP Address of All SQL Server Connection?

I had recently received this question during a recent consultation.

Read More
rowssampled

SQL SERVER – Rows Sampled – sys.dm_db_stats_properties

June 2, 2020
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Scripts, SQL Server, SQL Server DBCC, SQL Statistics

Here is the question asked in my yesterday’s Comprehensive Database Performance Health Check about rows sampled from sys.dm_db_stats_properties.

Read More
Separate pattern guides retain individual thread bundles for inspection rather than one combined change total.

SQL SERVER – Statistics Modification Counter – sys.dm_db_stats_properties

June 1, 2020
Pinal Dave
SQL Performance
SQL DMV, SQL Scripts, SQL Server, SQL Server DBCC, SQL Statistics

The Statistics Modification Counter tracks changes relevant to each statistics object. I inspect it alongside the affected query and estimates.

Read More
Previous 1 … 48 49 50 51 52 53 54 … 420 Next
  • Books
  • Testimonials
  • Privacy Policy

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