CREATE TRIGGER Trigger1 On dbo.[table1] FOR UPDATE AS Declare @Id int; SELECT @Id = Issue_Id FROM dbo.[table1] INSERT INTO dbo.[storage] SELECT Id, Title, project, Problem FROM dbo.[table2] WHERE Id = @IdIs there something I am doing wrong or that I can't use variables within the scope of a trigger? Many thanks