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
A groundskeeper pushing a line-marking cart across an empty field, painting the first boundary line.

Turning a Business Question Into a Query: Define the Metric First

March 1, 2024
Pinal Dave
SQL Tips and Tricks
Best Practices, Business Intelligence, SQL DateTime, SQL Reports, SQL Server

Turn a business question into a tested T-SQL metric with explicit time zones, cancellations, returns, and a hand-checked sample.

Read More
A horse collar hanging neatly with one fastening left open

Job Steps That Fail While the Agent Job Reports Success

March 29, 2021
Pinal Dave
SQL Tips and Tricks
SQL Reports, SQL Server, SQL Server Agent

A green job history does not mean every step worked. Decode the failure routing and pair failed steps with their outcomes.

Read More
Who Dropped

Who Dropped Your Table? – SQL in Sixty Seconds #112

August 28, 2020
Pinal Dave
SQL Video
SQL in Sixty Seconds, SQL Reports, SQL Scripts, SQL Server, SQL Server Security

Who Dropped My Table? – I was recently asked this question in Comprehensive Database Performance Health Check. Let us learn about it today.

Read More
Gouache painting of a row of watering cans in a greenhouse with one vermilion can tipped over in a big puddle

User Statistics Report in SSMS: Who Is Connected

June 16, 2020
Pinal Dave
SQL Tips and Tricks
SQL Reports, SQL Server Management Studio, SQL Server Security

The User Statistics report in SSMS shows the users who are connected to a database. This post opens the report, answers the same question with a query over sys.dm_exec_sessions, and finds the one application that holds many sessions.

Read More
A long-jump pit with a vermilion flag at last year's best mark and a fresh landing print just past it.

Year-Over-Year Comparisons in One Query

June 11, 2020
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Function, SQL Joins, SQL Reports, SQL Server

Build year-over-year monthly comparisons with a complete calendar, LAG, date-aligned joins, safe percentages, and missing-period rules.

Read More
Title card: Report Does Not Have Any Data to Show

SQL SERVER – Fix Error: Currently This Report Does Not Have Any Data to Show, Because Default Trace Does Not Contain Relevant Information

May 26, 2020
Pinal Dave
SQL Tips and Tricks
Schema, SQL Reports, SQL Scripts, SQL Server, SQL Server Configuration, SQL Server Management Studio

If there is a way to fix the error which they get when they try to open Schema Changes History. The error was related to Not Have Any Data to Show.

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
1 2 3 4 … 9 Next
  • Books
  • Testimonials
  • Privacy Policy

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