November 27, 2012 at 4:46 pm
Hi,
I have one Customer Table which contains more than 25 columns.
When user Updated any column in customer table.
Example: if he is updated Address,City. or
If he is updated Address , City , Country , ZipCode
I want the Updated Column value will be inserterd into another table .
Please help me.
Thanks,
November 27, 2012 at 9:42 pm
Please try trigger for that particular table.
tr_TableName_After_Insert
create trigger [dbo].[tr_TableName_After_Insert]
on [dbo].[TableName]
after insert
as
begin
(your operation to insert into different table)
end
November 28, 2012 at 3:59 pm
Thanks for your reply.
But i want when the user updating any fileds in the table , only those fileds i need to insert into another table.
So i can know only these fileds are updated in that table.
Thanks,
November 28, 2012 at 4:40 pm
suresh0534 (11/28/2012)
Thanks for your reply.But i want when the user updating any fileds in the table , only those fileds i need to insert into another table.
So i can know only these fileds are updated in that table.
Thanks,
What does the original customer table and destination tables look like?
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply