How to check the value of database property TRUSTWORTHY?

  • Didn't figour out how to check the value of database property TRUSTWORTHY ? Anyone could light me up ? Thx.


  • i dont know T-SQL command for that.... in SSMS

    1) right click on database you want to look on

    2) select options and look for trustworthy in the list of DB options...

  • select name,is_trustworthy_on from sys.databases


  • Dear

    Thanx for reply,What is meaning of trustworthy databases...


  • check this:


    "Thare are only 10 types of people in the world:
    Those who understand binary, and those who don't."

  • SELECT [name], is_trustworthy_on

    FROM master.sys.databases

  • This was removed by the editor as SPAM

  • This was removed by the editor as SPAM

  • imrankhanm wrote:

    By enabling cross-database ownership chaining or by designating a database as trusted by the instance using the TRUSTWORTHY attribute, a trust relationship between databases can be created. The sys. databases catalogue view's is_trustworthy_on column shows whether a database's TRUSTWORTHY property is set.

    Without defining what is meant by a "trust relationship", a lot of people can make some pretty big mistakes.  To be honest, this sounds a whole lot like a too-short answer generated by ChatGPT. 😉

    Here's the link for all the nasty stuff you have to watch for with TRUSTWORTHY.

    --Jeff Moden

    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.

    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

  • This was removed by the editor as SPAM

Viewing 10 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic. Login to reply