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 a matching blue puzzle piece and an incompatible orange piece beside a landscape puzzle

SQL SERVER – FIX: ERROR : Msg 3136, Level 16, State 1 – This differential backup cannot be restored because the database has not been restored to the correct earlier state

November 10, 2014
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore

Fix SQL Server error 3136 by checking the differential base, backup history and restore sequence. Test the matching backups in a separate database.

Read More
Query cancelled by user.

SQL SERVER – FIX: ERROR : Msg 3023, Level 16, State 2 – Backup, file manipulation operations (such as ALTER DATABASE ADD FILE) and encryption changes on a database must be serialized

November 9, 2014
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Error Messages

Backup jobs failing with Msg 3023? Backup, file changes and encryption changes on a database must be serialized. I look at what caused it for one reader.

Read More
SQL SERVER - Fix - Error 5058, Level 16, State 1 - Option cannot be set in database

SQL SERVER – Fix – Error 5058, Level 16, State 1 – Option cannot be set in database

November 8, 2014
Pinal Dave
SQL Tips and Tricks
SQL Error Messages

A DBA’s maintenance task kept failing with Error 5058, Option cannot be set in database. I tracked down why it happens and how to fix it.

Read More
Registry Editor.

SQL SERVER – Performance Counter Missing: How to Get Them Back?

November 7, 2014
Pinal Dave
SQL Performance

A friend opened PerfMon and found every SQL Server performance counter missing for his instance. Here is how we got them back.

Read More
Dtc Properties.

SQL SERVER – Msg 1206, Level 18, State 118 – The Microsoft Distributed Transaction Coordinator (MS DTC) has cancelled the distributed transaction

November 6, 2014
Pinal Dave
SQL Tips and Tricks
SQL Error Messages

Msg 1206 says MS DTC has cancelled the distributed transaction. A user group member hit it over a linked server, and the real cause taught me something new.

Read More
Database id 7 allocation unit_id 72057940501050814.

SQL SERVER – Table Space Allocation Details using DMV

November 5, 2014
Pinal Dave
SQL Tips and Tricks
SQL DMV

Beyond DBCC IND and EXTENTINFO, the DMV dm_db_database_page_allocations shows table space allocation details. My friend Balmukund pointed me to it.

Read More
A man laughing.

SQL SERVER – Using Bitwise And (&) Instead of a Junction Table – Notes from the Field #053

November 5, 2014
Pinal Dave
SQL Tips and Tricks
Notes from the Field, SQL Server Security

Stuart Ainsworth shows a cool trick: using Bitwise And (&) instead of a junction table to get more performance with fewer code changes.

Read More
A hand checking the soil of one red window box on a tall apartment building

Azure SQL Database Wait Stats: Reading sys.dm_db_wait_stats

November 4, 2014
Pinal Dave
SQL Performance
SQL Azure, SQL DMV, SQL Performance, SQL Wait Stats

Read Azure SQL Database wait stats with sys.dm_db_wait_stats, identify log-rate governance, and compare resource percentages before scaling.

Read More
helpbutton

SQL SERVER – Unable to Restore From Backup After Detach Operation

November 4, 2014
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Scripts

A young guy came to me and said – “I found a bug in SQL Server Restore”. How to fix Unable to Restore From Backup After Detach Operation.

Read More
Restart-Service PowerShell command in Notepad++.

SQL SERVER – PowerShell way of Restarting SQL Server Service

November 3, 2014
Pinal Dave
SQL Tips and Tricks
PowerShell

Restarting SQL Server service with PowerShell is one line, and it is wrong on a named instance. The right name, -Force, and when it is really up.

Read More
Previous 1 … 283 284 285 286 287 288 289 … 593 Next
  • Books
  • Testimonials
  • Privacy Policy

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