checking which column got updated
- From: Udit Ghai <ghai.udit@xxxxxxxxx>
- Date: Mon, 06 Aug 2007 06:46:41 -0700
Hi,
I need to know all the columns that got updated in an update query.
for example if col1 and col2 got updated then i should return 1 | 2
=3 or if col1 and col3 got updated then i should get the number 1 | 4
= 5 and so on 1,2,4,8,16... for col1,col2,col3,col4..... respecively.
since these values are to be stored in the same table as the last
column, i am using the instead of update trigger
i tried joining the inserted and deleted tables but i was not able to
formulate a query which did this.
Any help would be great
.
- Follow-Ups:
- Re: checking which column got updated
- From: B. Edwards
- Re: checking which column got updated
- Prev by Date: Re: Upgrade from SQL 2000 to SQL 2005 Problem in Active/Active Cluster Environment
- Next by Date: Re: Upgrade from SQL 2000 to SQL 2005 Problem in Active/Active Cluster Environment
- Previous by thread: Error Message
- Next by thread: Re: checking which column got updated
- Index(es):
Relevant Pages
|
Loading