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
SQL SERVER - Script to Audit Login and Role Member Change

SQL SERVER – Script to Audit Login and Role Member Change

April 6, 2017
Pinal Dave
SQL Tips and Tricks
SQL Audit, SQL Login, SQL Scripts, SQL Server

A script to audit login and role member changes in SQL Server, tested end to end, including the failed attempts most people never think to capture.

Read More
Differential backups flowchart.

SQL SERVER – Msg 3136, Level 16 – This Differential Backup Cannot be Restored Because the Database has not Been Restored to the Correct Earlier State

April 5, 2017
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Error Messages, SQL Scripts, SQL Server

I was trying to teach copy-only backups to my students and encountered below error related to differential backup.

Read More
Seven wooden measuring spoons arranged by size with the middle spoon highlighted

How to Find Median in SQL Server? – Interview Question of the Week #116

April 2, 2017
Pinal Dave
SQL Interview Questions and Answers
Ranking Functions, SQL Scripts, SQL Server

There is no MEDIAN function in T-SQL. Here is an easy way to find median values in SQL Server 2012 and later, plus what median really means.

Read More
A padlocked iron gate across a loading bay lit by one amber wall lamp

SQL SERVER – Error 33222, Level 16 – Audit ‘MyAudit’ Failed to Start

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

Error 33222 says only that the audit failed to start. Reproduced on SQL Server 2025: where the real reason hides, and why CREATE succeeded.

Read More
SQL SERVER - Huge Size of Table catalog.execution_component_phases in SSISDB

SQL SERVER – Huge Size of Table catalog.execution_component_phases in SSISDB

March 28, 2017
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SSIS

SSISDB was huge, and the biggest table was catalog.execution_component_phases. Here is what fills it, like retention period and logging level.

Read More
Title card: Could Not Use View 'msdb.dbo.sysdac_instances'

SQL SERVER – Could Not Use View or Function ‘msdb.dbo.sysdac_instances’ Because of Binding Errors

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

SQL SERVER – Could Not Use View or Function ‘msdb.dbo.sysdac_instances’ Because of Binding Errors. Let us learn how to fix the error.

Read More
Results window showing SELECT * FROM MyTable.

SQL SERVER – Jump in Identity Column After Restart

March 24, 2017
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Identity, SQL Scripts, SQL Server, SQL Server Configuration, TraceFlags

A change in SQL Server 2012 can cause a jump in identity column values after a restart. Here are the steps to reproduce it and what you can do about it.

Read More
Previous 1 … 131 132 133 134 135 136 137 … 366 Next
  • Books
  • Testimonials
  • Privacy Policy

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