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

On Dynamic Ports, Named Instances, and Firewalls

By

Recently I had a client and their vendor trying to configure a firewall for...

Daily Coping 13 Jul 2020

By

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

Last Week Reading (2020-07-12)

By

Press Azure resource providers operations List of all of the available ADF-specific RBAC permissions....

Read the latest Blogs

Forums

Help needed in getting all AD users and groups

By Mysterio

I have very limited knowledge with server management. I need to extract AD users...

What do you like for third party database backup/restore for SQL server & Azure

By melissa.hamilton

Hi all, my company currently uses SQL server native tools to perform nightly backups. ...

Find the last occurrence of \ character and get the left of string.

By sathwik.em91

How to find the last occurrence of '\' in the following  string  and get...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers