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
Log Shipping Tables Object Explorer.

SQL SERVER – Log Shipping Monitor Not Getting Updated

January 6, 2018
Pinal Dave
SQL Tips and Tricks
Log Shipping, SQL Error Messages, SQL Scripts, SQL Server, SQL Server Agent

The log shipping monitor stopped updating last_backup_file and last_backup_date for the primary, while every job ran fine. Here is how I traced it.

Read More
SQL SERVER - Error: 17142 - SQL Server Service has Been Paused. No New Connections Will be Allowed

SQL SERVER – Error: 17142 – SQL Server Service has Been Paused. No New Connections Will be Allowed

January 5, 2018
Pinal Dave
SQL Tips and Tricks
SQL Connection, SQL Error Messages, SQL Server, Starting SQL

What happens when you pause the SQL Server service? Error 17142 appears and no new connections are allowed, while existing users keep working. Here is the fix.

Read More
SQL Server UNION vs UNION ALL Error.

SQL SERVER – Puzzle – Why Does UNION ALL Work but UNION Produces Error?

January 4, 2018
Pinal Dave
SQL Puzzle
SQL Scripts, SQL Server, SQL Union clause

A puzzle with TEXT columns: UNION ALL works fine, but UNION produces error. Can you tell why? The hint is in how UNION removes duplicates.

Read More
Loose offcuts sit beside a cleanup brush while a separate set remains held by a clamp.

SQL SERVER – Slow Filestream Data Cleanup. What Should We Do?

January 3, 2018
Pinal Dave
SQL Tips and Tricks
Filestream, SQL Scripts, SQL Server

Slow Filestream Data Cleanup can follow deletion when files are still ineligible for garbage collection. One customer was running out of space.

Read More
An intact instrument is inspected in its open protective case beside separate assessment tools.

SQL SERVER – Historical SSMS Vulnerability Assessment and Current Availability

January 2, 2018
Pinal Dave
SQL Tips and Tricks
SQL Login, SQL Server, SQL Server Management Studio, SQL Server Security

SQL Vulnerability Assessment was available in older SSMS releases. My walkthrough used SSMS 17.4 with SQL Server 2012 or later.

Read More
Gouache painting of a leaky tin watering can mended with a strip of vermilion tape

Restart Azure SQL Database: What Works and What Doesn’t

January 1, 2018
Pinal Dave
SQL Tips and Tricks
SQL Azure, SQL High Availability, SQL Lock, SQL Server

You can’t restart Azure SQL Database the way you restart SQL Server, because Microsoft runs the service. This post shows what to do instead: find and end the blocking session, scale the database, or trigger a failover. It tests the blocking query on a demo database and explains why a stack dump is not a restart.

Read More
One reserved work area is much larger than the material it currently holds, while another waits

How to List Queries With Memory Grant and Execution Plan? – Interview Question of the Week #154

December 31, 2017
Pinal Dave
SQL Interview Questions and Answers
SQL DMV, SQL Memory, SQL Scripts, SQL Server

A workshop customer suspected one of their queries used too much memory. Here is the script I gave them to list running queries with Memory Grant and plan.

Read More
Previous 1 … 136 137 138 139 140 141 142 … 416 Next
  • Books
  • Testimonials
  • Privacy Policy

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