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
Office desk at night with the lamp still on, a mug and a jacket on the chair, someone is still logged in

SQL SERVER – Force Removing User from Database – Fix: Error: Could not drop login ‘test’

February 21, 2012
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Server, SQL Server Security

Error 15434: could not drop login ‘test’ because the user is logged in. A reader ran my demo on production; here is my Force Removing User fix, no restart needed.

Read More
SQL SERVER - Disable Guest Account - Serious Security Issue

SQL SERVER – Disable Guest Account – Serious Security Issue

February 20, 2012
Pinal Dave
SQL Tips and Tricks
SQL Server Security

I like to disable guest account access in SQL Server unless there is a real need for it. Here is why the guest user can be a serious security issue.

Read More
Cannot find user 'sqlauthority.

SQL SERVER – Case Sensitive Database and Database User – Fix: Error: 15151 – Cannot find the user , because it does not exist or you do not have permission.

February 18, 2012
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server Security

Jeff hit Error 15151, cannot find the user, even though the user existed. The cause was a case sensitive database, and here is the fix.

Read More
Hens filing up a ramp into a wooden coop at dusk while one small red hen wanders alone in the yard.

Counting Users, Roles and Orphans in Every Database

December 25, 2011
Pinal Dave
SQL Tips and Tricks
DBA, Schema, SQL Cursor, SQL Login, SQL Server Security

Audit counting users across databases, include roles and schema ownership, and distinguish orphaned SQL users from contained identities.

Read More
Maximum Rollover Files Dialog Box.

SQL SERVER – 2012 Auditing Enhancement – On Audit Log Failure Options – Maximum Rollover Files

December 16, 2011
Pinal Dave
SQL Tips and Tricks
SQL Server Security

SQL Server 2012 adds two auditing enhancements: new options on audit log failure, like fail operation or continue, and a maximum rollover files setting.

Read More
A closed egg coddler with a lifting ring beside an opened matching vessel

Certificate-Signed Procedures That Read Server DMVs Safely

October 13, 2011
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Server Security

Give a developer lock-wait data without handing over a server-wide permission. A signed procedure carries the authority, and an edit takes it away.

Read More
A cord passes through one reinforced brass opening in an intact canvas panel

EXECUTE AS OWNER in Stored Procedures: Power and Pitfalls

August 29, 2011
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Server Security

A procedure with owner rights can write to tables its caller cannot touch. Watch the identity change, and see how one careless parameter hands out too much.

Read More
Previous 1 … 33 34 35 36 37 38 39 … 56 Next
  • Books
  • Testimonials
  • Privacy Policy

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