title: Stored procedure output parameters in SQL Server Profiler
body: <p>I've got a stored procedure with an <code>int</code> output parameter. If I run SQL Server Profiler, execute the stored procedure via some .Net code, and capture the RPC:Completed event, the TextData looks like this:</p>
  
  <pre><code>declare @p1 int
  set @p1=13
  exec spStoredProcedure @OutParam=@p1 output
  select @p1
  </code></pre>
  
  <p>Why does it look like it's getting the value of the output parameter before executing the stored procedure?</p>