Technical Article

A Simply way to implement Audit Trail in SQL 2005

In a recent project, I need to record audit trail for some tables (for Insert, Update and Delete).Using SQL 2005's XML datatype and the XML support it is very covenienet to use triggers to perform the audit trail requirement. I create one table (Table_Audit)  to hold all audit trial data. One stored procedure is created […]

5 (2)

2007-09-20

3,303 reads

Blogs

Daily Coping 26 Jan 2023

By

Today’s coping tip is to focus on what’s good, even if today feels tough....

Using SQL Data Compare from the Command Line with a Project

By

SQL Data Compare (SDC) is a great way to sync data among tables. It’s...

Daily Coping 25 Jan 2023

By

Today’s coping tip is to be gentle with yourself when you make mistakes. I...

Read the latest Blogs

Forums

Can't Add Delegation for MSSQLSvc to IIS for AG Listener

By skreebydba

I have a two-replica SQL Server Availability Group running on Windows VMs in the...

Read # of trace files

By Chitown

I have a SQL agent job which starts the trace (for audit purpose) everyday...

cannot grant user view definition on a database

By winston Smith

I have a number of databases on a sql server 2017 instance. For most...

Visit the forum

Ask SSC Logo Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers