Auditing

Generic trigger for maintaining the Audit Log

  • Script

This trigger will work even if you don't have the primary key on any table. Mechanism to configure the primary key in config table has been provided. This can be very helpful to solve the system audit requirements without much efforts.

Disclaimer : Audit Log trigger has performance overhead. It’s meant for table which is not frequently updated, deleted or inserted. Please take precaution when creating the trigger on the table having too many columns.

2.33 (3)

2019-10-15 (first published: )

710 reads

Audit Users logging in using "sa" or service accounts

  • Script

Security is probably one of a production DBA's most important tasks and if developers use application or service accounts to run queries in your production environment you need to identify then and prohibit it. I notice some unwanted activity after staring a new job and decided to create a script that notifies me via email when […]

2019-07-04 (first published: )

880 reads

Azure SQL Database Auditing

  • Article

While a diminished level of control is certainly a factor to consider when contemplating migration of on-premises systems to Microsoft Azure, especially when dealing with PaaS resources such as Azure SQL Database, you have a range of techniques at your disposal that allow you to control and monitor both the status of and access to your Azure-resident services. One of these techniques is SQL Database auditing.

2015-01-22

9,981 reads

Blogs

Pluralsight Free April

By

It’s a few days into April, but not too late I hope to mention...

Daily Coping 7 Apr 2020

By

I’ve started to add a daily coping tip to the SQLServerCentral newsletter, which is...

Reading a SharePoint List with Azure Logic App

By

Sometimes in life you have to do things you really don’t like to do....

Read the latest Blogs

Forums

Understanding and Improving Query Plans

By girac127

Hi everyone. I have a process that is taking a long time to execute...

Daily Coping Tip 7 Apr 2020

By Steve Jones - SSC Editor

Daily Coping Tip: Rediscover your favourite music that really lifts your spirits. My thoughts:...

Developer Edition

By Admingod

I am proposing to the business that we use SQL 2019 Developer in our...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers