如何检查 ODBC 通信,以查看正在传递的 SQL?
是否有适用于 Windows 的工具可用于检查通过特定 ODBC 数据源的任何 SQL 命令?
Is there a tool for windows that we can use to inspect any SQL commands that go through a particular ODBC data source?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以让 ODBC 注销它正在执行的所有操作:
请注意:
您还可以通过编程方式执行此操作:
You can make ODBC log out everything it's doing:
Note that:
You can also do it programmatically:
如果您使用的是 SQL Server,请查看 SQL Server Profiler。 Profiler 允许您监视/跟踪您的应用程序和 SQL Server 之间的所有通信,包括调用了哪些过程、参数值等,而无需修改您的应用程序。
如果您使用不同的服务器,您应该能够找到可以执行相同操作的 sql 代理。
If you're using SQL Server, look at the SQL Server Profiler. Profiler allows you to monitor/trace all communications between your application and the SQL Server, including which procedures are called, parameter values, etc, without having to modify your application.
If you're using a different server, you should be able to find a sql proxy that will do the same thing.