User-1634604574 posted
i have this update on table tb1 which update more than one filed and also i have this trigger on that table tb1
update query
update tb1 set age=22 where gender=female
here is my trigger
create TRIGGER [dbo].[TR_TB_Log_update_tb1]
ON tb1
after UPDATE
as begin
declare @user varchar(max);
declare @date_time varchar(max);
declare @series varchar(max)
set @series=(select series from inserted )
insert into tb2(@series)
end
i get this error on that highlight code
Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression.