You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ifexists (select*from #errorlog where LogDate > @end_time)
24
+
break;
25
+
end
26
+
27
+
selectROW_NUMBER()over(order by LogDate asc) as id,*
28
+
from #errorlog as e
29
+
where1=1
30
+
--and e.Text like '%pricing%'
31
+
--and e.ProcessInfo not in ('Backup','Logon')
32
+
--and not (e.ProcessInfo = 'Backup' and (e.Text like 'Log was backed up%' or e.Text like 'Database backed up. %' or e.Text like 'BACKUP DATABASE successfully%') )
33
+
--and e.Text not like 'DbMgrPartnerCommitPolicy::SetSyncState:%'
34
+
--and e.Text not like 'SQL Server blocked access to procedure%'
35
+
--and e.Text not like 'Login failed for user %'
36
+
--and e.Text not like 'AlwaysOn Availability Groups connection with secondary database terminated for primary database %'
37
+
--and e.Text not like 'AlwaysOn Availability Groups connection with secondary database established for primary database %'
0 commit comments