Articles

SQLServerCentral Article

Testing for an Updated Column in a Trigger

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!

(3)

You rated this post out of 5. Change rating

2003-08-21

18,229 reads

Blogs

The Benefits of Teaching

By

Even preparing for a class or seminar with set materials takes a lot of...

Power BI, Excel, OneLake – Dreams Do Come True!

By

I can’t believe it’s finally here! A way to have Excel live in OneDrive...

The Book of Redgate: What Our Staff Says

By

This image is from 2010, and it goes along with my last post of...

Read the latest Blogs

Forums

Unlocking Data Transformation: My journey with dbt (Data Build Tool) on SQL Server

By ashok.gadiparthi

Comments posted to this topic are about the item Unlocking Data Transformation: My journey...

Putting the Player with the Number

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Putting the Player with the...

Your Security Checkup

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Your Security Checkup, which is...

Visit the forum

Question of the Day

Putting the Player with the Number

In SQL Server 2025, what does this return?

DECLARE @player varchar(20) = 'Bo Nix',
@num VARCHAR = '10'

SELECT @player || @num

See possible answers