开发者

How to trace the sql queries that my windows app generates?

开发者 https://www.devze.com 2023-01-11 21:11 出处:网络
I want to do sql client-side tracing to see the scope of databases and queries that my local Windows application is generating.

I want to do sql client-side tracing to see the scope of databases and queries that my local Windows application is generating.

Everyone on the Web talks about 开发者_Go百科server-side tracing but my app talks to at least five different servers, so that's pretty hard to do effectively.

Any recommendations?


If you have a Data access layer, or a limited # of functions that actually execute the sql, you could build in a logging mechanism that you could enable/disable for debugging purposes. Sorry if that's a generic answer.

0

精彩评论

暂无评论...
验证码 换一张
取 消