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 an open old trunk with brass binoculars resting on a vermilion cloth

sp_helpdb in SQL Server: List Databases and Their Files

April 21, 2020
Pinal Dave
SQL Tips and Tricks
SQL Command, SQL Data Storage, SQL Scripts, SQL Stored Procedure

sp_helpdb in SQL Server lists every database on an instance, or the files of one database, with a single call. This post builds three small databases, reads the output column by column and explains why db_size is text. It also shows how to filter the result and how to find free space.

Read More
Illustrated cover: The Blocking Tree

SQL SERVER – Blocking Tree – Identifying Blocking Chain Using SQL Scripts

April 20, 2020
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Lock, SQL Scripts, SQL Server

Whenever I end up on a situation where we have lots of blocking issues with my client, I depend on the script of the Blocking Tree.

Read More
Tiles from an organized cabinet are copied into a matching grid in a tray

How to Import a SQL Server Table Inside Excel Sheet? – Interview Question of the Week #273

April 19, 2020
Pinal Dave
SQL Interview Questions and Answers
Excel

Question: How to Import a SQL Server Table Inside Excel Sheet?

Answer: Well, the answer to this question is pretty straight forward and let us see it today. 

Read More
Gouache painting of an open glossary bridging relational tables and document folders

SQL Terms vs MongoDB Terms: A Practical Glossary

April 18, 2020
Pinal Dave
SQL Tips and Tricks
JSON, MongoDB, NoSQL, SQL Server

SQL terms vs MongoDB terms trip up teams that use both products. This glossary maps tables, collections, rows, documents and fields, shows tested SQL Server queries beside the mongosh equivalents, and marks where the vocabulary stops matching.

Read More
A heavy door propped open by a red wedge that has quietly slid across the floor.

Forcing a Plan in Query Store and Checking That It Held

April 17, 2020
Pinal Dave
SQL Performance
Execution Plan, Query Store, SQL Performance, SQL Server

Use forcing a plan in Query Store with verified IDs, then audit force failures and runtime results every week so the fix stays useful.

Read More
A front door with two identical brass doorbells, one polished and gleaming, the other dull with a small cobweb.

Duplicate Statistics: Auto-Created Stats That Shadow Index Statistics

April 16, 2020
Pinal Dave
SQL Performance
DBA, SQL Index, SQL Server, SQL Statistics

Find duplicate statistics on index-leading columns, compare freshness and sampling, and generate cautious DROP STATISTICS candidates.

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
Previous 1 … 114 115 116 117 118 119 120 … 844 Next
  • Books
  • Testimonials
  • Privacy Policy

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