I've got an application that generates a report using Crystal Reports 9. It is timing out when it runs queries against the SQL Server. At this time I am trying to determine which query is causing this behavior. The time outs occur sometimes to some users. I attempted to duplicate this behavior but the report generated in a timely fashion without any delay.
One option that has been suggested is to add the "with (nolock)" directive to the queries, but I am not sure if this should be done so liberally. What do you all think about "with (nolock)"? Any other suggestion how I can narrow down the possible causes for the time outs? Thank you! Saga