ALTER trigger [dbo].[cleartest] on [dbo].[Call]
for update not for replication
as
if update(call_name)begin
select * from call
endselect * from call得到的是更新前的表还是更新后的表???
for update not for replication
as
if update(call_name)begin
select * from call
endselect * from call得到的是更新前的表还是更新后的表???
(A varchar(50)
)
insert into temp
select 'A'
select * from temp
--
Acreate trigger trigger_name on temp
for update
as
if update(A)
begin
select * from temp
end
goupdate temp set A='bb'-------
bb