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 archery target with four nested rings in a field, one arrow in the red center and others in outer rings

Period-to-Date Totals: Today, Week, Month and Year in One Scan

April 27, 2019
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Function, SQL Reports, SQL Server

Calculate period-to-date totals with shared scan boundaries, Monday-based weeks, and older date arithmetic for SQL Server reports.

Read More
Gouache painting of dents in snow and boot prints leading away to a vermilion sled

Schema Changes History Report: See Who Dropped a Table

November 23, 2018
Pinal Dave
SQL Tips and Tricks
Schema, SQL Reports, SQL Scripts, SQL Server Security

The Schema Changes History report shows who created, altered or dropped a table. This post reads the same default trace with T-SQL, tests it on a table and a database drop, and explains the limits: file rollover and shared logins. It ends with ways to keep the history longer.

Read More
SQL SERVER - Reporting Services Not Starting After Maintenance Window

SQL SERVER – Reporting Services Not Starting After Maintenance Window

October 25, 2018
Pinal Dave
SQL Tips and Tricks
Reporting Services, SQL Error Messages, SQL Reports, SQL Server

Reporting Services not starting after maintenance? On my lab server every SQL service came back except SSRS. Here is what the log showed.

Read More
Gouache painting of an open trunk beside a hat, boots, a kettle and a vermilion scarf laid out in a row

In-Memory OLTP Migration Checklist in SSMS: Step by Step

September 5, 2018
Pinal Dave
SQL Tips and Tricks
In-Memory OLTP, SQL Migration, SQL Reports, SQL Server Management Studio

The In-Memory OLTP migration checklist shows which tables and stored procedures can move to memory-optimized objects. This post sizes up the tables with T-SQL, walks through the wizard in Management Studio and explains how to read the reports.

Read More
Report Server Database Configuration Manager.

SQL SERVER – The Report Server Cannot Open a Connection to the Report Server Database. (rsReportServerDatabaseLogonFailed)

March 22, 2018
Pinal Dave
SQL Tips and Tricks
Reporting Services, SQL Connection, SQL Error Messages, SQL Reports, SQL Server

A report viewer failed with rsReportServerDatabaseLogonFailed: the report server cannot open a connection to the report server database. Here is the fix.

Read More
SQL SERVER - Activity Monitor - Active Expensive Queries

SQL SERVER – Activity Monitor – Active Expensive Queries

January 18, 2018
Pinal Dave
SQL Tips and Tricks
SQL Reports, SQL Server, SQL Server Management Studio

A DBA spotted an extra pane in my Activity Monitor during a health check. Here is where Active Expensive Queries shows up and which SSMS version has it.

Read More
A market flower stall at closing time, a few buckets nearly empty and most still full

Pareto Analysis in T-SQL: Which Products Make 80 Percent of Sales

October 25, 2017
Pinal Dave
SQL Tips and Tricks
Business Intelligence, SQL Reports, SQL Scripts, SQL Server

Build Pareto analysis in T-SQL with product totals, stable running sums, and explicit ABC thresholds that handle ties and boundary choices.

Read More
Previous 1 2 3 4 5 … 9 Next
  • Books
  • Testimonials
  • Privacy Policy

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