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
A key broken off in the lock of a dark painted door

SQL SERVER – Login Failed. The Login is From an Untrusted Domain and Cannot be Used with Windows Authentication – SPN Issue

December 15, 2017
Pinal Dave
SQL Tips and Tricks
SQL Domain Controller, SQL Error Messages, SQL Login, SQL Server, SQL Server Security

Login failed, untrusted domain, error 18452, and a cluster that would not fail over. The cause was an SPN. How to read the SPN messages.

Read More
Error dialog box.

SQL SERVER – FIX: Msg 15150 – Cannot Alter The User ‘dbo’.

December 12, 2017
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Login, SQL Scripts, SQL Server, SQL Server Security

Deploying SharePoint, a client tried to change the dbo mapping and got Msg 15150: Cannot alter the user ‘dbo’. Here is why it happens and how to fix it.

Read More
Two matching enamel dials side by side in a dark wooden case on a bench

SQL SERVER – AlwaysOn Availability Groups: Script to Sync Logins Between Replicas?

November 30, 2017
Pinal Dave
SQL Tips and Tricks
AlwaysOn, SQL Error Messages, SQL Login, SQL Server, SQL Server Security

A script to sync logins between availability group replicas, keeping the SID so users do not orphan on failover. What to copy and what to check after.

Read More
A strong rope holds its weight while a weak rope has broken under the same test

How to Enforce Password Policy of Windows to SQL Server? – Interview Question of the Week #142

October 1, 2017
Pinal Dave
SQL Interview Questions and Answers
SQL Login, SQL Scripts, SQL Server, SQL Server Security

SQL Server logins follow Windows password rules by default. If a login has it turned off, here is a simple script to Enforce Password Policy again.

Read More
A gatehouse window with the shutter half down and a red lamp inside

SQL SERVER – Login Failed – Error: 18456, Severity: 14, State: 38 – Reason: Failed to Open the Explicitly Specified Database

September 19, 2017
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Login, SQL Server, SQL Server Security

Error 18456 State 38: failed to open the explicitly specified database. The login worked and the database did not. The four usual causes.

Read More
Hair barrette holding fibers within one dish beside fibers outside

EXECUTE AS LOGIN vs EXECUTE AS USER: Where Impersonation Stops

July 27, 2017
Pinal Dave
SQL Tips and Tricks
SQL Login, SQL Server, SQL User Group

Your test passed as a user, yet the sales team still gets an error. Here is where each kind of impersonation stops, and how to get back out.

Read More
Change job owner.

SQL SERVER – FIX: Msg 15170, Level 16, This login is the Owner of 1 Job(s). You Must Delete or Reassign these Jobs Before the Login can be Dropped

June 21, 2017
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Login, SQL Scripts, SQL Server, SQL Server Security

Msg 15170: this login is the owner of 1 job(s) and cannot be dropped. Here is how to find those jobs and reassign them first.

Read More
Previous 1 … 3 4 5 6 7 8 9 … 14 Next
  • Books
  • Testimonials
  • Privacy Policy

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