Hello,

I am a beginner with sql and have created a trigger for daily transactions for insert and update like :

if (condition)
begin
insert into customerhist(op eration) values('insert' )
end
else
begin
insert into customerhist(op eration) values('update' )
end
go.

I wanted to know which of the insert or update query is executed after this...