Home Forums SQL Server 2005 Administering How to check the value of database property TRUSTWORTHY? Reply To: How to check the value of database property TRUSTWORTHY?

  • 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.

    https://learn.microsoft.com/en-us/sql/relational-databases/security/trustworthy-database-property

    --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)