I am using a VB application that is connected to SQL Server database. I would like to know the syntax of the SQL statements that are being passed to the database. Is there anyway to log all activity, i.e. SQL statements that are passed to the database, then view them?
I know there is a log in SQL server for each database but I don't know of a way to view this log, is there a way?
Any help and/or ideas is greatly appreciated.
(please note, this is obviously not my application so I cannot view the code)
Regards
I know there is a log in SQL server for each database but I don't know of a way to view this log, is there a way?
Any help and/or ideas is greatly appreciated.
(please note, this is obviously not my application so I cannot view the code)
Regards