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
Gouache painting of a hose overflowing a full bucket onto a path beside a tap with a vermilion wheel

SSMS Command Timeout: What the Execution Time-out Does

April 23, 2020
Pinal Dave
SQL Tips and Tricks
SQL Extended Events, SQL Server Configuration, SQL Server Management Studio, Testing

The SSMS command timeout is the number of seconds a query window waits before it cancels a batch. This post lists the four places a time-out can come from and reproduces a client time-out with sqlcmd and PowerShell. It also shows how an Extended Events session proves that the client gave up.

Read More
Gouache painting of a basket of apples capped by a vermilion plank, with more apples left on the grass around it

SSMS ROWCOUNT Setting: Why Your Query Stops at 100 Rows

April 22, 2020
Pinal Dave
SQL Tips and Tricks
Execution Plan, SQL Performance, SQL Server Configuration, SQL Server Management Studio

The SSMS ROWCOUNT setting limits every query in a window to a fixed number of rows, and it can change the plan as well. This post shows the effect on rows, reads and plan with a tested demo, how to check your own session and why UPDATE statements stop at the limit too.

Read More
Two cabinets show a scrollbar starting in the middle and at the top

SQL SERVER – Scrollbar in the Middle – Bugs Fixed by SSMS Team

April 15, 2020
Pinal Dave
SQL Tips and Tricks
Bug Fix, SQL Server, SQL Server Management Studio

SSMS 18.5 fixed the Database Properties scrollbar that opened in the middle. Read the funny true story, see the original evidence, and enjoy the fix.

Read More
Gouache painting of a small chest with one vermilion drawer open beside a pile of wooden planks

Rebuild All Indexes on a Table in SQL Server: SSMS and T-SQL

April 7, 2020
Pinal Dave
SQL Performance
SQL Index, SQL Performance, SQL Scripts, SQL Server Management Studio

To rebuild all indexes on a table, right-click the Indexes folder in SSMS and choose Rebuild All, or run ALTER INDEX ALL with REBUILD. This post checks fragmentation first, rebuilds a demo table and shows what the command does to a disabled index. It also compares REBUILD with REORGANIZE and the options that matter.

Read More
Gouache painting of a half-woven basket with a bundle of reeds and one vermilion reed where the weaving stopped

Canceled Query Plan: Three Ways to Capture It in SQL Server

April 1, 2020
Pinal Dave
SQL Performance
Execution Plan, Query Store, SQL DMV, SQL Server Management Studio

A canceled query plan can be captured with Live Query Statistics, with a live plan query while the statement runs, or from Query Store after the cancel. This post runs a long query, reads its plan while it runs, cancels it and then reads the aborted run from Query Store. It also explains which plan each method returns.

Read More
A faceted gemstone is inspected with a freestanding magnifying lens under a lamp

How to Check Database Performance Facets in SQL Server? – Interview Question of the Week #270

March 29, 2020
Pinal Dave
SQL Interview Questions and Answers
SQL Performance, SQL Server Management Studio

Question: How to Check Database Performance Facets in SQL Server?
It is very simple to find out the facets of SQL Server Just follow the diagrams listed.

Read More
A hand holding open the front of a Victorian dollhouse to show the rooms and staircase inside

Capturing the SQL Behind SSMS Reports With Extended Events

March 21, 2020
Pinal Dave
SQL Tips and Tricks
SQL Extended Events, SQL Reports, SQL Server, SQL Server Management Studio

Capture the SQL behind SSMS reports with a filtered Extended Events ring buffer, inspect batch text, and remove the session afterward.

Read More
Previous 1 … 7 8 9 10 11 12 13 … 50 Next
  • Books
  • Testimonials
  • Privacy Policy

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