Deadlock graph: Show SQL statement containing the phrase "password" We need to debug a MS SQL Server 2014 deadlock situation. We got our deadlock graph, but the statement seems to contain the string "password", so the SQL is obfuscated ("*password---..."). Is there a way to turn this behaviour off and get the actual statement?
No, there is no trace flag or way to override this behavior.

If any statement has a restricted word in it, it will be overwritten with "-------" or "** restricted **". This is the same whether it is a trace, in cache, or using XEvents.