How do I get SQL Profiler to show statements with column names like 'password'?

Posted by Kev on Server Fault See other posts from Server Fault or by Kev
Published on 2010-05-26T15:45:48Z Indexed on 2010/05/26 15:51 UTC
Read the original article Hit count: 246

Filed under:
|
|

I'm profiling a database just now and need to see the UPDATE and INSERT statements being executed on a particular table.

However, because the table has a 'Password' column the SQL Profiler is being understandingly cautious and replacing the TextData column with:

-- 'password' was found in the text of this event.
-- The text has been replaced with this comment for security reasons.

How do I prevent it doing this because I need to see the SQL statement being executed?

© Server Fault or respective owner

Related posts about sql-server

Related posts about sql-server-2000