I'm looking for a simple select statement off a dmv or something that will tell me the state of the TRUSTWORTHY setting.
I'm working in service broker and do not want to obtain an exclusive lock on the db if I don't have to. So I'd like to check the state of this setting.
Any ideas how?
Thanks!