We are setting up audits to log stored procedure execution in our web application.
When running a stored procedure from management studio the log includes "statement" which contains the nameo of the stored procedure AND which parameters (with values) that are sent to it.
However when running the same stored procedure via the web application the "statement" in the log is empty. so you can see that the procedure was executed but not with which parameters.
Does anyony knows why there is a difference? I'm running as the same sql user.