I would like to be able to connect to a third-party application to see which SQL queries are being executed. In particular, it is a VB6 application running on SQL Server 2005.
For example, when an application fills the grid, I would like to see which particular request generated this data.
If you have the appropriate permissions (sysadmin or ALTER TRACE), you can watch using SQL Profiler.
If the application does not write a magazine or something like that, the only way to look at them is on the database side. SQL Profiler is the right tool for the task in MSSQL 2005.
You can view it on the server side by connecting to the SQL server using the SQL Server Profiler included in the tools. It uses its use from Microsoft
Looking at it on the server, as other answers indicate, is most likely the best way. However, if this is not available, you can also include the ODBC log , which can be useful.
Source: https://habr.com/ru/post/1276987/More articles:Does mod_rails and mongrel work on the same server? - ruby | fooobar.comhttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1276983/what-are-some-good-microcontroller-development-boards-to-learn-the-net-micro-framework&usg=ALkJrhhPLKPsYXysqUluCitn5F4mMebIpQHow to convert from decimal to T? - c #How to install ExtUtils :: PkgConfig in Perl on Windows? - windowsHow to get a full call stack in Visual Studio 2005? - c ++Redirecting to another controller - asp.net-mvcHow to transfer binary data to standard output in .NET? - .netHow to set line thickness in VB.NET - .net.Net 8-bit encoding - .netList icons appear blurry (C #) - c #All Articles