Hi @derbel laroussi ,
Welcome to the microsoft TSQL Q&A forum!
As Erland said, you need to create a trigger on the underlying tables in the view, please refer to:
CREATE TRIGGER tinsert
ON yourtable
FOR UPDATE
As
IF UPDATE(Value)
BEGIN
INSERT INTO Table1 (ID,Value)
SELECT ID,Value
FROM View1
WHERE ID=2 OR ID=3
END
If you have any question, please feel free to let me know.
If the response is helpful, please click "Accept Answer" and upvote it.
Regards
Echo
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.