Hey All,
I have table A which has 20 columns. I want to create trigger on table A which should get triggered whenever someone tries to update any value in Table A than trigger should insert new as well old value in table B. For ex:
Table B
PK Oldvalue NewValue
1 Brown Blonde
I don't want to insert all columns values instead I want to know what specific column has been changed. if two values are changed than I will insert two record for each value.
any help will be appreciated.
thanks
I have table A which has 20 columns. I want to create trigger on table A which should get triggered whenever someone tries to update any value in Table A than trigger should insert new as well old value in table B. For ex:
Table B
PK Oldvalue NewValue
1 Brown Blonde
I don't want to insert all columns values instead I want to know what specific column has been changed. if two values are changed than I will insert two record for each value.
any help will be appreciated.
thanks
Comment