Skip to content
Advertisement

How can i optimize the Trigger

I have checked a lot of Question asked Previously but was not able to get how do optimize this trigger



How I have changed this code to

ALTER trigger [dbo].[Expample] on [dbo].[AdminUsers] for update as begin

declare @Id int declare @new_val nvarchar(max) declare @old_val nvarchar(max)

Declare @AuditString nvarchar(max) Begin Set @AuditString = ”

end end

Thanks for Help

Advertisement

Answer

I have not been able to test it, but it appears this is what you are trying to accomplish:

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement