Home Forums SQL Server 2012 SQL 2012 - General Adding parameter to SqlCommand hides query from the profiler RE: Adding parameter to SqlCommand hides query from the profiler
ericjorg
Right there with Babe
Points: 730
More actions
June 18, 2013 at 5:43 pm
#1625258
OK, I appear to have fixed it by telling the profiler to watch for RPC:* events. Apparently adding a parameter turns the query into a remote procedure call.