Finding the SQL output of a parameterized query

Posted by Dan Monego on Stack Overflow See other posts from Stack Overflow or by Dan Monego
Published on 2010-05-27T17:27:50Z Indexed on 2010/05/27 17:31 UTC
Read the original article Hit count: 302

I'm making a parameterized query using C# against a SQL server 2005 instance, and I'd like to take a look at the SQL that is run against the database for debugging purposes. Is there somewhere I can look to see what the output SQL of the parameterized command is, either in the database logs or in the Visual Studio debugger?

© Stack Overflow or respective owner

Related posts about c#

Related posts about sql-server