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
Two wooden trays hold terracotta pots with plants of different sizes beside a bright stone-room window.

VAR and VARP: Choose the Variance Denominator

March 28, 2011
Pinal Dave
SQL Tips and Tricks
Mathematical Function, SQL Function, SQL Server

VAR and VARP describe sample and population variation. Keep observation count and missingness visible when reporting their results.

Read More
An old narrow pair of railway wheels on its axle resting beside a newer, wider track it no longer fits.

Checking 32-Bit Leftovers: Linked Server Providers and ODBC Drivers

March 27, 2011
Pinal Dave
SQL Tips and Tricks
Linked Server, SQL Migration, SQL Server, SQL Server Agent, SSIS

Find 32-bit dependencies in linked servers, Agent steps, SSIS execution choices, and Windows ODBC drivers before a server move.

Read More
Two wooden trays of ceramic samples beside an hourglass, with a separate unmatched-sample tray.

DMV Snapshot Deltas for a Query Activity Interval

March 26, 2011
Pinal Dave
SQL Tips and Tricks
SQL Cache, SQL DMV, SQL Performance, SQL Server

DMV snapshot deltas show counter growth for cached statements that survive two observations. Compare their identities and report missing coverage before ranking activity.

Read More
Two wooden gate latches with a separate key below each latch.

Partition Stats Permissions: A SQL Server 2025 CU9 Counterpoint

March 25, 2011
Pinal Dave
SQL Tips and Tricks
SQL Monitoring, SQL Scripts, SQL Server, SQL Server Security

A controlled SQL Server 2025 CU9 test separates partition metadata visibility from access to table rows. Compare the documented permission pair with observed grant behavior, and keep the build-specific result within its measured scope.

Read More
A wooden bar latch above a separate metal valve handle and pipe flowing into a stone basin.

STARTUP_STATE: Check Whether an Extended Events Session Is Running

March 24, 2011
Pinal Dave
SQL Tips and Tricks
SQL Extended Events, SQL Monitoring, SQL Scripts, SQL Server

STARTUP_STATE controls automatic startup after SQL Server starts, while current session state tells whether an Extended Events session is running now. Compare both states and verify an event-file capture before assuming that a setting started the session.

Read More
Tempdb table negative objectid.

SQL SERVER – Denali – ObjectID in Negative – Local TempTable has Negative ObjectID

March 23, 2011
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL System Table

On Denali I saw many negative ObjectID values in sys.all_objects. Here is how I found out that each local temp table gets a negative ObjectID.

Read More
Pebbles sorted into heaps by size along a driftwood plank on a beach, one heap much taller than the others.

Statistics Histograms Explained

March 22, 2011
Pinal Dave
SQL Performance
Execution Plan, SQL Performance, SQL Server DBCC, SQL Statistics

Statistics histograms explained through steps, RANGE_ROWS, EQ_ROWS, and DBCC SHOW_STATISTICS help connect data shape to plan estimates.

Read More
Previous 1 … 600 601 602 603 604 605 606 … 841 Next
  • Books
  • Testimonials
  • Privacy Policy

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