aikixd
aikixd

Reputation: 514

Raw sql query text in .net

Is it possible to get somehow the query text, that SqlCommand generates?

Upvotes: 1

Views: 323

Answers (1)

Denis Valeev
Denis Valeev

Reputation: 6015

You need to run Sql Server Profiler and connect to the Sql Server to eavesdrop on the communication.

Upvotes: 2

Related Questions