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 line of footprints in fresh snow crossing a courtyard to a closed door, with no one in sight.

Reading the Transaction Log With fn_dblog

September 29, 2011
Pinal Dave
SQL Tips and Tricks
SQL Audit, SQL Backup and Restore, SQL Server, Transaction Log, Undocumented SQL

fn_dblog can expose transaction-log records during a narrow investigation, but retention and missing user context make it a last resort.

Read More
A harbor post notched with flood marks, a hand adding a fresh red notch

Keeping a Change Log for Every Database

August 31, 2010
Pinal Dave
SQL Tips and Tricks
DBA, Schema, SQL Audit, SQL Documentation

A change log for every database records what changed, when, why, and by whom, with a simple table and a habit of updating it.

Read More
A museum display case with an untouched porcelain teacup inside and a clear set of fingerprints on the glass.

Auditing SELECT Statements on Sensitive Tables

October 18, 2009
Pinal Dave
SQL Tips and Tricks
DBA, SQL Audit, SQL Compliance, SQL Server Security

Auditing SELECT statements on sensitive tables needs a narrow database audit, protected files, volume checks, and active review.

Read More
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
Previous 1 2 3 4 5 Next
  • Books
  • Testimonials
  • Privacy Policy

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