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 toolbox with a clear lid and a vermilion padlock

Prevent Index Changes in SQL Server With a DDL Trigger

August 24, 2021
Pinal Dave
SQL Tips and Tricks
SQL Index, SQL Scripts, SQL Server Security, SQL Trigger

To prevent index changes in one database, create a DDL trigger on the index events that rolls back the statement and says why. This post tests the trigger, shows what it blocks, and lists the index changes that slip past it.

Read More
Gouache painting of a closed garden gate with a brass padlock and a doormat with a small vermilion mark

Unlock SQL Login Without Changing the Password

June 9, 2021
Pinal Dave
SQL Tips and Tricks
SQL Login, SQL Password, SQL Scripts, SQL Server Security

Unlock SQL login accounts without a new password: switch CHECK_POLICY off and on. See the lockout, the fix, and what to do when MUST_CHANGE blocks it.

Read More
A crowd of seagulls mobbing the hatch of a small beach kiosk while a hand pulls the shutter halfway down.

Logon Storms: Protecting SQL Server From Connection Floods

April 28, 2021
Pinal Dave
SQL Tips and Tricks
DBA, SQL Connection, SQL Login, SQL Server Security, SQL Trigger

Diagnose SQL Server logon storms, control connection growth, test a limited logon trigger, and preserve administrator recovery access.

Read More
A temporary key awaits a first-use exchange beside a closed cabinet and fitting tools.

SQL SERVER – Change Password at the First Login

April 19, 2021
Pinal Dave
SQL Tips and Tricks
SQL Login, SQL Scripts, SQL Server, SQL Server Security

MUST_CHANGE requires a SQL-authenticated login to change password at its first connection. Policy options and the client workflow must support it.

Read More
An engaged fitting clamp remains separate from older pieces awaiting inspection.

SQL SERVER – Find Untrusted Foreign Key

March 3, 2021
Pinal Dave
SQL Tips and Tricks
SQL Constraint and Keys, SQL Scripts, SQL Server, SQL Server Security

An Untrusted Foreign key has not validated all existing rows. A customer bulk-load history prompted this inventory.

Read More
An empty fitted recess and preserved fragments are inspected for evidence of removal.

SQL SERVER – Who Dropped Table? Part 2

February 8, 2021
Pinal Dave
SQL Tips and Tricks
SQL Log, SQL Scripts, SQL Server, SQL Server Security

A dropped table can leave transaction-log clues, but those clues are not a complete audit trail. My original investigation had limits.

Read More
Hide in Code

Hide Code in SSMS – SQL in Sixty Seconds #154

February 3, 2021
Pinal Dave
SQL Video
SQL in Sixty Seconds, SQL Scripts, SQL Server, SQL Server Encryption, SQL Server Management Studio, SQL Server Security, SQL Stored Procedure

I have received so many emails from all of you to create a video on the topic of SQL SERVER – Hide Code in SSMS. Here is the video on the topic.

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

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