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 chessboard mid-game on a cafe table with empty chairs, one knight off its square, two cold cups of coffee.

Who Changed This Row? Auditing Data Changes

June 10, 2015
Pinal Dave
SQL Tips and Tricks
Change Data Capture, SQL Audit, SQL Server, SQL Trigger, Temporal Table

Auditing data changes requires choosing whether you need old values, new values, actor identity, or a change feed, then testing the cost.

Read More
Copper seam held by fixed rivets with a new rivet waiting at the end

Append-Only Ledger Tables for Audit Logs That Cannot Be Edited

January 21, 2015
Pinal Dave
SQL Tips and Tricks
SQL Audit, SQL Data Storage, SQL Server Security

Can someone quietly edit your audit table? With an append-only ledger and a stored digest, the answer becomes no, and you can prove it.

Read More
Audit location tool window.

SQL SERVER – How to Chang Audit Location?

November 17, 2014
Pinal Dave
SQL Tips and Tricks
SQL Audit

SQL Server auditing is a hidden gem. Learn how to change the audit location after it is created, for example when a network share fails.

Read More
SQL SERVER - User Defined Audit with SQL Server

SQL SERVER – User Defined Audit with SQL Server

November 15, 2014
Pinal Dave
SQL Tips and Tricks
SQL Audit, SQL Scripts, SQL Server

Bank security checks taught me patience about audits. Here is how a user defined Audit in SQL Server lets you write your own events to the audit log.

Read More
Upside-down glazed bowl showing its original clay foot ring

Audit Triggers That Record the Real User Behind EXECUTE AS

October 28, 2014
Pinal Dave
SQL Tips and Tricks
SQL Audit, SQL Server Security, SQL Trigger

Your audit table says dbo for every change, and nobody can tell who really did it. Here is how to capture the person behind EXECUTE AS.

Read More
A cookie jar with its lid askew and a trail of fresh crumbs on a kitchen counter, no one in sight.

Tracking Recent Object Changes With modify_date

March 31, 2014
Pinal Dave
SQL Tips and Tricks
DBA, SQL Audit, SQL System Table, System Object

Use modify_date to find recent SQL Server object changes, compare databases, and understand which audit questions need event capture.

Read More
A rose branch pressing a red doorbell in the wind with nobody at the door.

UPDATE() in a Trigger Is True Even When Nothing Changed

September 21, 2013
Pinal Dave
SQL Tips and Tricks
SQL Audit, SQL NULL, SQL Server, SQL Trigger

Understand why UPDATE() in a trigger fires for unchanged SET values and log only real changes with inserted and deleted row comparisons.

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

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