Quantcast
Channel: Microsoft SQL Server
Viewing all articles
Browse latest Browse all 4871

Logon trigger that wont block connections if it fails?

$
0
0

I have a logon trigger that I use to track who is accessing an instance.  When someone logs on, I simply throw some info into a table.

If there is a problem for whatever reason, the trigger will fail, and no one will be able to connect to the instance until I log on using the DAC and disable the trigger.

Is there a way to code a logon trigger so that it won't block connections if it fails?


Viewing all articles
Browse latest Browse all 4871

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>