ALTER trigger [dbo].[insert_collect]
on [dbo].[collect]
for insert
as
begin
declare @bno char
select @bno from inserted
update dbo.book set dbo.book.bcollect =dbo.book.bcollect +1 where @bno=dbo.book.bno
end
对collect进行insert操作后,book表里的数据并没有发生改变是什么情况
慕的地10843