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
Thread moves from one spool to another, with the receiving spool partly filled

How to Get Status of Running Backup and Restore in SQL Server? – Interview Question of the Week #113

March 12, 2017
Pinal Dave
SQL Interview Questions and Answers
SQL Backup and Restore, SQL Scripts, SQL Server

How do you check the status of running backup and restore operations? Here is the script I built to see every backup and restore running on the server.

Read More
Gouache painting of an orchard irrigation channel with a lifted red wooden gate letting water flow through

Print Status Messages Using RAISERROR WITH NOWAIT

March 11, 2017
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Server

To see progress while a long script runs, use RAISERROR WITH NOWAIT instead of PRINT. This post builds a progress loop, formats values with placeholders, and shows the percent sign trap that garbles a message. It also explains how severity decides whether a message stays inside a TRY block, and where the 2,047 character limit cuts a message.

Read More
SQL SERVER - Script Upgrade - Server Principal 'MS_PolicyEventProcessingLogin' Has Granted One or More Permission(s)

SQL SERVER – Script Upgrade – Server Principal ‘MS_PolicyEventProcessingLogin’ Has Granted One or More Permission(s)

March 10, 2017
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Server, SQL Server Configuration, Starting SQL

SQL Server would not start after patching: Script Upgrade failed because ##MS_PolicyEventProcessingLogin## had been granted permissions. Here is the fix.

Read More
Performance Monitor Graph.

SQL SERVER – FIX : Msg 35295, Level 16 – Log Backup For Database ‘DBName’ on a Secondary Replica Failed

March 9, 2017
Pinal Dave
SQL Tips and Tricks
AlwaysOn, SQL Backup and Restore, SQL Mirroring, SQL Server, Transaction Log

During load testing, a log backup on a secondary replica failed with Msg 35295 because the last backup LSN was ahead of the redo LSN. Here is why.

Read More
State with wait preemptions.

SQL SERVER – Queries are in KILLED/ROLLBACK State with Wait PREEMPTIVE_OLEDB_RELEASE

March 8, 2017
Pinal Dave
SQL Tips and Tricks
SQL Server, SQL Wait Stats

After a network outage, queries stayed in KILLED/ROLLBACK with the undocumented wait PREEMPTIVE_OLEDB_RELEASE. What I saw and how to clear them.

Read More
Registry Editor displaying SQL Browser error.

SQL SERVER – SQL Browser not Starting. Error – The SQL Configuration for SQL is Inaccessible or Invalid

March 6, 2017
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server, SQL Server Configuration, Starting SQL

After server hardening, SQL Browser would not start and the event log said the SQL configuration for SQL is inaccessible or invalid. Here is the fix.

Read More
A fitted maintenance cradle supports a mechanism and its lock while a generic spanner rests nearby

Why to Use SQL Server Configuration Manager Over Services applet (services.msc)? – Interview Question of the Week #112

March 5, 2017
Pinal Dave
SQL Interview Questions and Answers
SQL Server, SQL Server Configuration, SQL Server Services

Why use SQL Server Configuration Manager Over Services applet (services.msc) to change a service account? The reasons, from permissions to passwords.

Read More
Previous 1 … 174 175 176 177 178 179 180 … 416 Next
  • Books
  • Testimonials
  • Privacy Policy

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