Posts Tagged ‘Generic SQL Errors’

CRM data load – Finding long running queries

December 17, 2012 Leave a comment

The other day when we were doing performance testing on our CRM application by importing huge data, we got few “Generic SQL Errors”.

One common reason for the “Generic SQL Errors” is either SQL timeout because of long running queries or dead locks.

So to find the root cause of the issue we wanted to find the long running query’s.

Here is the useful article which will give you the “Longest running queries” on your SQL Server.

P.S. You might get “Division by 0 errors” error when you run the query. Keep trying the query you will get results for sure.