Hi Team,
I have a vendor application where a table with 1 million rows get updated without a where condition (all rows). This table is having an update/insert/delete trigger.
Inside the trigger there is TQL statement as below
Select @NLCount=Count(*) from deleted where NLstatus=1
The update statment is taking 5 to 6 hours, stuck in the above statement with in the trigger.
can somebody help me please?
if i disable the trigger, the update finish in 7 mins