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
An ordered tray exposes the longest rod while a mixed tray requires searching

Do MAX Function Scan Table? – Interview Question of the Week #289

August 16, 2020
Pinal Dave
SQL Interview Questions and Answers
Execution Plan, SQL Performance, SQL Scripts, SQL Server

Question: Do MAX Function Scan Table to retrieve the data?

Answer: Yes, if there are no indexes to help retrieve data. Let us learn it today.

Read More
negative identity

Negative Identity Column – SQL in Sixty Seconds #101

August 14, 2020
Pinal Dave
SQL Video
SQL Identity, SQL in Sixty Seconds, SQL Performance, SQL Scripts, SQL Server

I had a very interesting story to tell about a negative identity column from my recent Comprehensive Database Performance Health Check. 

Read More
Parallel Queries

List All Parallel Queries – SQL in Sixty Seconds #098

August 12, 2020
Pinal Dave
SQL Video
Parallel, SQL CPU, SQL in Sixty Seconds, SQL Scripts, SQL Server

During the recent Comprehensive Database Performance Health Check, my client asked me if I have a query which can list all the parallel queries.

Read More
Alter Index

Alter Index Add Column – Workaround – SQL in Sixty Seconds #097

August 8, 2020
Pinal Dave
SQL Video
SQL in Sixty Seconds, SQL Index, SQL Scripts, SQL Server, SQL Server Management Studio

However, while modifying it we faced a unique challenge that we can’t actually alter index to add columns. Let us discuss that today.

Read More
rowcount

Fastest Way to Retrieve Rowcount for a Table – SQL in Sixty Seconds #096

August 7, 2020
Pinal Dave
SQL Video
SQL in Sixty Seconds, SQL Scripts, SQL Server, SQL System Table

What is the fastest way to retrieve rowcount for a table?  Whenever I am helping my clients with their SQL Server, I get this question.

Read More
Table Variable Stored

Where are Table Variables Stored? – SQL in Sixty Seconds #095

August 6, 2020
Pinal Dave
SQL Video
SQL in Sixty Seconds, SQL Memory, SQL Performance, SQL Scripts, SQL Server, SQL Variable, Temp Table

A very popular question we will answer today Where are Table Variables Stored? Recently I have posted a few videos on my YouTube Channel,

Read More
Gouache painting of a weathervane on a barn roof with a vermilion arrowhead and wheat stalks in front

Statistics That Never Auto Update: Find the NORECOMPUTE Flag

August 4, 2020
Pinal Dave
SQL Performance
SQL DMV, SQL Index, SQL Scripts, SQL Statistics

Statistics that never auto update usually carry a hidden NORECOMPUTE flag, set when an index was created. This post builds a demo table, shows the flagged statistic go stale while its neighbor updates itself, and lists every flagged statistic in a database. It also shows which maintenance commands clear the flag and which keep it.

Read More
Previous 1 … 32 33 34 35 36 37 38 … 365 Next
  • Books
  • Testimonials
  • Privacy Policy

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