June 2025 Discount: Comprehensive Database Performance Health Check | Testimonials

Home
  • Consulting
  • Training
  • Free Videos
  • All Articles
    • Interview Questions and Answers
    • SQL Tips and Tricks
    • SQL Performance
    • SQL Puzzle
    • Big Data
    • Blog Stats
    • SQL Books
    • Search SQLAuthority
  • Downloads
  • Hire Me
  • Health Check
All Articles ExecutionPlanOperator0-600x215

Why Execution Plan Operator Read More Rows Than Available? – Interview Question of the Week #255

December 15, 2019
Pinal Dave
SQL Interview Questions and Answers
Execution Plan, SQL Performance, SQL Scripts, SQL Server

Question: Why Execution Plan Operator Read More Rows Than Available?

Answer: Statistics.

Now let us learn detailed answer in this blog post.

Read More
All Articles With-Join-600x157

SQL SERVER – Query Without Join Showing Query Plan With Join

December 14, 2019
Pinal Dave
SQL Performance
Execution Plan, Query Hint, SQL Joins, SQL Scripts, SQL Server

This question often keeps on coming in my consulting engagements. Let us quickly see the answer about Query Without Join Showing Query Plan With Join.

Read More
All Articles Persisting-Sample-600x175

SQL SERVER – Persisting Sample Percentage for Statistics – PERSIST_SAMPLE_PERCENT

December 13, 2019
Pinal Dave
SQL Performance
SQL Scripts, SQL Server, SQL Statistics

Recently I got the opportunity to work on a very new feature of Persisting Sample Percentage for Statistics. Let us learn today.

Read More
All Articles null-columns-600x400

SQL SERVER – List All the Nullable Columns in Database

December 12, 2019
Pinal Dave
SQL Performance
SQL Column, SQL DMV, SQL NULL, SQL Scripts, SQL Server

Recently during the consulting engagement, I needed to create a query that Lists All the Nullable Columns in Database, which I am sharing.

Read More
All Articles bananaonwall-600x272

SQL SERVER – APPROX_COUNT_DISTINCT – Not Always Efficient

December 11, 2019
Pinal Dave
SQL Performance
SQL Counter, SQL Function, SQL Scripts, SQL Server, SQL Server 2019

After a lot of testing, I figured out that the newly introduced function is not always efficient. A newly-introduced function APPROX_COUNT_DISTINCT.

Read More
All Articles Memory-Grant-Pending-600x128

SQL SERVER – List Number Queries Waiting for Memory Grant Pending

December 10, 2019
Pinal Dave
SQL Tips and Tricks
Memory Grant, SQL Memory, SQL Scripts, SQL Server

Today, in this blog post let us see how we can List Number Queries Waiting for Memory Grant Pending. I had built this simple query for the client.

Read More
All Articles RowMode-600x318

SQL SERVER – Row Mode and Memory Grant Feedback

December 9, 2019
Pinal Dave
SQL Performance
Memory Grant, SQL Memory, SQL Scripts, SQL Server

One of the questions, which really caught my attention did this feature work with Row Mode like it does with Batch Mode. Let us discuss today.

Read More
All Articles Scoped-Configurations-600x277

What is the Priority of Database Scoped Configurations? – Interview Question of the Week #254

December 8, 2019
Pinal Dave
SQL Interview Questions and Answers
Database Scoped Configurations, SQL CPU, SQL Performance, SQL Server, SQL Server Configuration

Question: What is the Priority of Database Scoped Configurations over Global Configuration at Server Level?

Answer: This is a follow-up question.

Read More
All Articles scopedconfiguration5-600x222

SQL SERVER – Database Scoped Configurations

December 7, 2019
Pinal Dave
SQL Performance
Database Scoped Configurations, SQL Scripts, SQL Server

Recently I was asked a very interesting question by one of my clients on the topic of Database Scoped Configurations. Let us learn today.

Read More
All Articles Mismatch-Between-600x184

SQL SERVER – Mismatch Between sys.database_files and sys.master_files For TempDB Database

December 6, 2019
Pinal Dave
SQL
File format, SQL Error Messages, SQL Scripts, SQL TempDB

I would share my knowledge and findings of a situation where there was a mismatch between sys.database_files and sys.master_files for the TempDB database!

Read More
Previous 1 … 81 82 83 84 85 86 87 … 579 Next
  • SQL Interview Q & A
  • Testimonials
  • Search
  • Privacy Policy

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