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 crowded toothbrush cup on a bathroom shelf, most brushes old and dusty, one red brush still in use.

Finding Unused Logins and Users Before an Audit

September 11, 2009
Pinal Dave
SQL Tips and Tricks
DBA, SQL Audit, SQL Login, SQL Server Security

Review unused logins with password metadata, database mappings and activity capture, then use an owner approved disable-first plan.

Read More
A nest of small speckled eggs with one larger red egg that does not belong

Hunting Suspicious Objects After a SQL Server Compromise

June 24, 2009
Pinal Dave
SQL Tips and Tricks
DBA, SQL Audit, SQL Login, SQL Server Security

Investigate a SQL Server compromise by preserving evidence and checking logins, startup procedures, Agent jobs, risky features, and changed objects.

Read More
SQL SERVER - Interesting Observation of Logon Trigger On All Servers

SQL SERVER – Interesting Observation of Logon Trigger On All Servers

May 27, 2009
Pinal Dave
SQL Tips and Tricks
SQL Audit, SQL Scripts, SQL Server, SQL Trigger

I created a Logon Trigger to audit every successful login for a client, and one login was recorded several times on different threads. The script and what I saw.

Read More
Footprints along a wet shoreline, crisp in front and fading further back as a wave smooths the oldest away.

Reading the Default Trace

November 13, 2008
Pinal Dave
SQL Tips and Tricks
DBA, SQL Audit, SQL Profiler, SQL Trace

Reading the default trace can reveal recent object and configuration changes while its rolling files still retain the evidence.

Read More
Gouache painting of a wooden board with five round wooden knobs on a cream wall, a blank vermilion tag hanging from the middle knob

Who Changed a Server Setting in SQL Server? How to Find Out

August 4, 2008
Pinal Dave
SQL Tips and Tricks
SQL Audit, SQL Log, SQL Scripts, SQL Server Configuration

Who changed a server setting in SQL Server? The error log records what changed and when, and the default trace adds the login, the computer and the program. Tested with one harmless change that is put back at the end.

Read More
A gloved hand holds secateurs to one dead branch of a bare apple tree, pruned twigs on the snow below.

A Quarterly Permission Review

June 21, 2008
Pinal Dave
SQL Tips and Tricks
DBA, SQL Audit, SQL Login, SQL Server Security

A quarterly permission review checks server and database roles, new grants, orphaned users, service accounts, and owner signoff.

Read More
A barn with a high open hayloft door, one ladder in plain view and two more half hidden around the side.

Auditing Who Has sysadmin

January 16, 2008
Pinal Dave
SQL Tips and Tricks
DBA, SQL Audit, SQL Login, SQL Server Security

Audit who has sysadmin in SQL Server, including direct members and Windows groups, then investigate nested access and forgotten logins.

Read More
Previous 1 2 3 4 5 6 Next
  • Books
  • Testimonials
  • Privacy Policy

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