Saleh Saleh - 1 month ago 26
C# Question

How to check if queries executed over network?

I have MS SQL Server 2008 installed on PC as Main Server and clients are connected with this server and executing queries like inserting, updating, deleting.

I have noticed that some times when executing UPDATE query, no data saved in my database in the server where MS SQL Server is installed.

I'm using Winform Application with Entity Framework.

xBindingSource.EndEdit();
context.SaveChanges();


Is there any way to check if queries are executed successfully on server over network??

Thank you

Answer

you can use SQL Server Profiler in conjunction with Fiddler.

You can check the queries executed in SQL server using SQL server profiler. By using Fiddler you can check whether any requests have been made to SQL server.