Triggers

SQLServerCentral Article

Row-By-Row Processing Without Cursor

  • Article

If you are a SQL Server DBA, you realize that the performance of cursors is not great and they should be avoided where possible. One place it is difficult to avoid cursors is individual row processing within a trigger. Amin Sobati brings us a new article that shows just how you can avoid this.

2.88 (93)

You rated this post out of 5. Change rating

2007-12-28 (first published: )

47,809 reads

Technical Article

Using DDL Database Triggers

  • Article

In this short demonstration, you'll learn how to use DDL database triggers to prevent changes to product and audit changes to comply with Sarbanes-Oxley and other change management requirements. Free registration required.

2006-07-20

3,395 reads

SQLServerCentral Article

Worst Practice - Triggering External Events

  • Article

Andy Warren started his worst practice series some time ago with the intention of looking at the worst things you can do. Given that we may not always be able to implement the best practices, at least we can try to avoid doing things harm the system or decrease performance. This article continues the series and looks at an item I see mentioned in our discussion forum quite often, triggering external events. From a trigger.

You rated this post out of 5. Change rating

2004-02-23

10,225 reads

SQLServerCentral Article

Bypassing Triggers

  • Article

This articles covers a variety of techniques to let you bypass or conditionally execute code in a trigger based on criteria outside of the inserted/deleted tables. It also includes a contest that gives you a chance to win a copy of our book The Best of SQLServerCentral.com 2002!

5 (5)

You rated this post out of 5. Change rating

2003-11-24

12,414 reads

SQLServerCentral Article

Testing for an Updated Column in a Trigger

  • Article

The columns_updated function gives you the ability to easily test to see if specific columns were modified with less code than you might otherwise need to use. In this article Andy Warren demonstrates how to create a trigger that uses this function and points out some reasons why you may NOT want to use it!

4 (3)

You rated this post out of 5. Change rating

2003-08-21

18,157 reads

SQLServerCentral Article

Triggers in SQL Server 7.0 and 2000 - What's New

  • Article

This is the second of a two part series on how triggers work in the two latest versions of MS SQL Server. The first part dealt with what is common between the two versions. This article will detail what's been added to SQL Server 2000.

4 (1)

You rated this post out of 5. Change rating

2005-06-24 (first published: )

72,954 reads

SQLServerCentral Article

Triggers in SQL Server 7.0 and 2000 - The Common Ground

  • Article

This is a two part series on how triggers work in the two latest versions of MS SQL Server. Because there are some pretty significant additions in trigger functionality from 7.0 to 2000, we'll first need to look at what the two versions have in common. The second part to this series will look at the differences between the two MS SQL Server versions.

4.4 (5)

You rated this post out of 5. Change rating

2005-01-21 (first published: )

110,836 reads

Blogs

T-SQL Tuesday #180: Good enough is perfect Roundup

By

This month, I prompted bloggers to discuss whether good enough is perfect. Thank you to all...

Using SQL Compare with Read-only Access

By

Recently a customer asked if SQL Compare and SQL Data Compare can be used...

Off to Live 360

By

I am off to Live 360 today, on my last trip of the year....

Read the latest Blogs

Forums

Microsoft Recommendations for Update Stats?

By Brandie Tarvin

I have an application team that is insisting on daily (and for some, weekly)...

how can i tell if our db2 driver is ms or ibm or other?

By stan

i see this in the definition of a linked server on our wh sql...

normal role member to be able to view list of other role members in his DB

By Senad

Is this even possible ? Tried with grant but to no avail. [sys].[database_role_members] and...

Visit the forum

Question of the Day

A Strange Result

What does this code return in SSMS 20 from SQL Server 2019?

select '|' + CHAR(0)+'abc' + '|';

See possible answers