Modification to Automate Audit Trigger Generation

This is a modification to Automate Audit Trigger Generation at http://www.sqlservercentral.com/scripts/contributions/1073.asp by walkerjet. The changes were made to accommodate tables using different types for their primary keys, (i.e. int, smallint, char, etc.), add the ModifiedById and DTStamp columns, exclude legacy tables that do not have a primary key defined, exclude fields of type text, ntext, […]

2004-10-19 (first published: )

347 reads

Blogs

Fixing the PoSh Hotkey in ADS

By

I installed the PowerShell (PoSh) extension in ADS recently. This is available in the...

Capture Execution Plans Only For Long Running Queries

By

I love questions. Most of all, I love questions I can answer. I spotted...

Daily Coping 28 Sep 2020

By

I started to add a daily coping tip to the SQLServerCentral newsletter and to...

Read the latest Blogs

Forums

Simple Python question...

By pietlinden

I have a table in SQL Server like this: CREATE TABLE #SymptomData (  ...

Regular expressions in script component

By sqlfriend

In one of our SSIS package we have a script component that validate a...

SSRS - Filtering data in a report

By dduensing

I have a dataset (Name, Product A Installed, Product B Installed, Product 3 Installed,...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers