Advertisement

10.12.2003 at 07:11AM PDT, ID: 20764279
[x]
Attachment Details

sql trigger - compare new and old value after update

Asked by kereny in MS SQL Server

Tags: trigger, sql, old, value, new

How do i compare new and old value in a trigger after update?
if update() is no good because i want to know if the value is changed and not if the column was updated.

KerenStart Free Trial
 
Loading Advertisement...
 
[+][-]10.12.2003 at 07:43AM PDT, ID: 9535741

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.12.2003 at 11:24AM PDT, ID: 9536538

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: MS SQL Server
Tags: trigger, sql, old, value, new
Sign Up Now!
Solution Provided By: fredli74
Participating Experts: 2
Solution Grade: A
 
 
[+][-]10.12.2003 at 11:29AM PDT, ID: 9536553

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.08.2004 at 02:48PM PDT, ID: 11507099

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]07.12.2004 at 05:24PM PDT, ID: 11534905

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32